WASHINGTON — The former chairman of the Joint Chiefs of Staff said at a breakfast Tuesday in Washington that the national security implications of the national debt are keeping him up at night, even as budget negotiators are “doing handstands … as if the problem has gone away.”

Adm. Mike Mullen, who retired in 2011 after serving in parts of George W. Bush’s last term and President Obama’s first term, stressed at the Concerned Veterans for America event that “the military is part of the solution to better outcomes around the world, but on a higher level it’s really about economies.”

“If you can create some stability in a peaceful environment, people’s standard of living will improve and economies will start to thrive,” he said.

Mullen said he was “delighted” with the progress made through bipartisan budget and appropriations agreements in Congress, but “I worry that it sends the signal that it’s over.”

“We just can’t be the country that we are capable of… if we just keep spending ourselves into oblivion,” the four-star retired admiral warned. “It’s going to take sacrifice, quite frankly, on the part of everybody.”

Even for all of the complaints about defense eating up the budget, Mullen said pouring the entire Pentagon budget into the debt still would have “minimal impact” without entitlement reform.

That includes means testing for entitlements, which he said he’s happy to personally do. “Those who can afford a little more need to pay a little more, as far as I’m concerned,” he said, instead of a mentality of “they feel entitled to this whether they need it or not” or “‘you owe me this,’ whether or not you need it.”

The recent bipartisan cooperation is hopefully “a harbinger of steps to be taken in the future” on broader reform. “I would hope it’s the beginning of being able to turn it around.”

Within the Pentagon, he notes that the overhead has “grown enormously” over the past couple of decades. “The force is going to get a little smaller,” Mullen said, stressing that a budget-strapped department needs “to customize our force for the world we’re living in.”

“We have a bad history in this country of ignoring the lessons, then just moving forward and starting all over again,” he said.

In addition to the debt, four other issues weigh heavy on Mullen’s mind when worrying about the future of America.

One is K-12 education, where he believes one of the problems is teachers are “not valued in the country,” while another is the political paralysis in Washington. “I hope leadership in the country at large can figure out a way to get us moving in a positive direction before we have some catastrophic event,” he said.

Mullen also worries about cyber attacks and the ability of policy makers without technical backgrounds to understand the gravity of the threat. “I understand how lethal it is,” he said, noting that the hacking of Target customers’ credit card data “speaks to the scale of the capability in the cyber world.”