If people conflate their current economic misfortune with a US foreign policy of encouraging global cooperation and participation, then they haven’t thought much about cause and effect.
Someone who cared to address the newfound lack of upward mobility in our society would insist on domestic policies that ensured economic surplus was explicitly invested toward the public good.
While globalization certainly has advantages that have been espoused at length, little thought has been given to their clear downsides, like decimating domestic production and the vulnerabilities inherent to distributed supply chains.
As for the "transition to a knowledge economy", this too entails similar problems. The previous trajectory was simply untenable.
If you want to see truly prosperous societies then you have to maximize peaceful international cooperation through shared democratic values. That takes educated citizenry with post-material values who will be invested in the stability and longevity of such an international system.
And they need to cooperate against authoritarian bad actors like Putin, who seek to divide and conquer.
It's also not at all obvious that the US has been more secure in its role as world police. Arguably, it led directly to 9/11 and decades of pointless death in the Middle East.
All of the arguments that the status quo was more secure and better economically are weak, at best, given the complexities of the counterfactuals.