Thailand is not good value.
Some things are cheap, especially what a tourist needs (restaurants, hotels, local transport).
Generally, you get what you pay for (unhealthy street food, unsafe taxis, lousy building materials).
But you can live very cheaply here.
Many things are neither cheap nor expensive (rents in Bangkok, electronics, prostitutes).
Some things are expensive (education, health care - please don't compare with the predatory US system, chemists).
Example:
A generic antifungal I happen to know costs 63 times more in my home-country.
Another generic antifungal I happen to know costs 7 times more here.
In the end, it averages out.