These countries are also far poorer and in the case of Thailand especially that has been a major contributing factor, as they've been less able to afford closing their country to tourism.
Also, the vaccinated population in either country is at low single digit percentage, so no end in sight for the harsh measures. Compare that to the US or Europe where 50% of population is (partially) vaccinated and, as the result, gradually reopen.
"highest number of cases" here meaning between 1 and 2 cases per million people per day.
For context, the United States is currently at its lowest daily case count since June last year, which is slightly above 100 cases per million people per day.
"Even with various levels of lockdown both countries have 1-2% of the case count of countries that didn't treat this seriously" isn't quite as dramatic of a statement though I guess.
(all figures using the typical 7 day rolling average and data available from Mackuba)