This isn’t the full story though, because there is also the foreign tax credit. If your US taxes are lower than your foreign taxes (which they will be if eg you live in Europe) you won’t pay US tax: https://www.irs.gov/individuals/international-taxpayers/fore...
There are myriad cases where this is not true, the details of how these tax credits are structured can lead to significantly adverse outcomes. It is quite possible to pay more taxes in aggregate than either country separately.
It is certainly possible, but also implies a complex mix of different income types and very specific national pairing.
The usual case where there is a tax treaty is that the expat pays taxes at the rate of the country in which they work. It's really that simple for most people.