When you are talking about things like this, there is correlation, and there is causation.
There is a lot of correlation between U.S. made instruments and "good" quality. But it isn't because "Americans" are inherently any better at building instruments than Koreans, Indonesians, etc. (which would be causation). It's because the kinds of companies that produce here tend to have a certain niche in the market, and that niche is higher end instruments.
The foreign made lines of U.S.-based companies can be great, sometimes even superior to a well made U.S.A. instrument...if (big if) the U.S. brand that contracted the manufacturer pays the maker enough to make them good! But these overseas factories have contracts to build such and such guitars for such and such amount, and they need to make that profitable for themselves. As an overseas guitar factory, you probably have the skills to make a G&L level instrument...but you can't actually take the time or afford the materials to make that G&L level instrument if you are only getting paid $50 a piece to do it.
It's not like Indonesians or Chinese people fundamentally lack excellent craftsmanship skills just because of where they're from (causation). It's that the contracts these companies tend to get are for guitars that will sell at a relatively low price point (correlation).
The bottom line is that a well made instrument is a well made instrument, a badly made instrument is a badly made instrument, and either kind can be made anywhere. Judge an instrument's quality not based only on where it is made, but on your understanding of guitar craftsmanship.
And FWIW, plenty of the most godawful, crummy, completely useless guitars ever made were made right here in the good-ol' U.S. of A, going way back. But you don't see much of that any more. It isn't because the U.S.A. all of a sudden became elitist in its manufacturing philosophy. It's simply because U.S. companies decided they wanted to make a lot more money. No U.S. guitar company wants to pay for U.S. labor just to sell cheap-o crap, to be forced to provide a safe and humane work environment, and to be forced to consider environmental damage, when they can pay foreigners pennies or dollars per day to do it, with limited labor or environmental oversight.