It’s standard in Europe and many other countries to tax their “tax residents” on their worldwide income. The tricky part is that sometimes that external income is also taxed at source, but this is usually taken care of by tax treaties, which means that you pay the higher of the tax rates, but only once.