It simple. By choosing proper allies. Something like: the USA make alliance with Russia and also dismiss NATO. America doesn't threaten Russia, Russia doesn't threaten America. Both defend their own interests, not European, nor Chinese, nor Indian or African. Europe is getting poorer, China and India are getting poorer, Russia and America are getting richer. If America have problems with Mexico or Venezuela - Russia doesn't defend them. If Russia has problems with Poland or Romania - America doesn't defend them either.
Wearing a tinfoil crown of the "Leader of the Free World" doesn't increase safety of American citizens by itself. You invested a lot of money in Europe and now Europe show you fingers and say "F#ck you". Why? Because your tinfoil crown doesn't give you actual ability to control Europeans.
If you: a) give money to Germany, b) ready to fight a war to defend Germany, it means that you have lesser money and lesser safety.
But, from the other hand, if you a) take money from Germany, b) don't give a sh-t about defending Germany and rist a war with Russia - you are both richer and safer.
How so? To be bastion of security America already has two oceans.
To be clear it was the USA who, first, industrialised China by giving them all their technologies and, second - pushed Russia and Iran (and a lot of other countries) in Chinese hugs.