Always best to play before you buy if you can. I live 2 hours from the nearest gear store, so I tend to try to buy used at a used price, have it shipped to me, treat my ownership as an extended demo, and if I ultimately don’t like it, I sell for roughly the same used price and the shipping costs and reverb cut are my rental/demo fees. That holds true for all brands, but it might take longer to resell something that doesn’t have Fender or Gibson on the headstock.
I really think quality control is something that varies on a brand by brand (maybe even factory by factory?) basis. I agree there’s a good standard of quality from USA Fender and Gibson. I’ve also seen really good QC from PRS SE line, Eastman and Reverend which are made overseas but set up and inspected in the US before they go to retailers. Reverend in particular is probably my favorite ~$1000 new “value brand”. Absolutely on par with US made Fender and Gibson in terms of quality, playability, tone. I’d have no qualms buying any of those other brands sight unseen.