All but a few expats in Thailand are most likely unable to repatriate to home country due to lack of money. Maybe when you left you were flush but if you sold your home and used that money to build a life in Thailand, it's doubtful whether you could return without help from family.
Since Covid, rents in the US has gone crazy high. Which is probably one of the biggest obstacles for an expat to return home.
While life in places like Pattaya are not ideal, it certainly is the lesser of evils in regard to survival.