I’m rather curious how you relativise a lot of the US’ recent history. Sure, Iraq and Afghanistan weren’t pillars of stability, but I think the balance comes down pretty hard against the US with Vietnam and other Southeast Asian nations as well. Our continued support of Israel and Saudi Arabia isn’t looking so hot either.
Then we’ve got military intervention in the Dominican Republic and support of Trujillo until he stopped being useful, installing the Pinochet regime after helping topple the government of Salvador Allende, support for the military dictatorship in Brazil, as well as backing dictatorships in Argentina.
Our colonization of the Philippines was pretty awful, as is our continued treatment of Puerto Rico as essentially a vacation spot and Caribbean ghetto.
You get the idea. Seriously, I’m hard pressed to think of an instance in the last century where the US has intervened on the international stage and actually has a credible claim to having done good with the exception of World War II.
The government has created and fought for stability for a small subset of monied interests and has largely left the rest of us to jump for whatever table scraps they deign to let fall to us plebs. As @Nokinori mentions, even domestically, things are increasingly coming undone at the seams and looking ready to get worse.