You will be taxed as per the laws in the country in which you are a tax resident. For example, if you are a tax resident of the UAE, you will pay taxes as per UAE tax laws.