Also it's usually less than half.
Average tax rate in Denmark is around 45%.
In San Francisco I was paying 38%.
Can you pay education for your kids with 7% of your income? How about healthcare?
What is a social safety net worth?
Salary in SF is much higher than Copenhagen. Factor that into the equation.
But the tax rate isn't the reason salaries are higher in SF.
(Oh, and most people aren't software engineers)
7% of 130k is that enough to cover education, healthcare, etc?
Note. To be fair, the us does have some pension through medicare. (But I was honestly shocked to learn that it was regressively taxed)
If you could invest in humans, you'd want a diversified portfolio anyways. Indeed to keep operating costs low, you might want a passive investment scheme, like index funds.
Paying taxes to fund education and pensions is kind of like investing in an index fund tracking all humans in a given country.
Only kind of like! Such schemes definitely shouldn't be the primary assets in your portfolio. But it's failure modes a very different from stocks, so some exposure is good.