I know of one "gotcha" that works in my country at least: work for low / no wage but instead have loads of assets like stocks; dividend taxes are much lower than income taxes.
I could be wrong. I'm just reminded of people like the Google founders who humblebragged about only earning $1 / year in salary. They still became multi-billionaires off of stocks.
In my country, assets are taxed by a percentage of a percentage (they tax estimated return on investment, which is ridiculous if you only have a savings account that nowadays has either no interest or even negative interest). I think there should be an additional tax on any money or assets moving out of said investment account.
Because that's how rich people do it; they hardly pay any taxes because they have hardly any taxable income or assets. They put their house into a corporation or foundation, funnel any cash they need through various shell organizations and tax havens, etc.