@Elías *******
I also pay taxes in my country ( a lot too lol). But in many case and some country, we have to declare tax in both 2 countries.
Hopefully some countries have agreement to prevent to double pay tax but we have to declare in both.
I don’t have relevant information about Thailand behavior. It depends on each country ( origin country and where you live)