https://europa.eu/youreurope/citizens/work/taxes/income-taxe...
You mentioned Estonia in another comment - it might be the case that Estonia is a special case or has a scheme for attracting talent that doesn’t include worldwide tax
I see now that most countries do tax worldwide income, just that most of the time they have DTA agreements so you can offset tax paid in other countries against your tax bill.