and considering that everything is expensive, the wages are not that high either. Moreover buying in apartment in a appropriated size (>=55m^2) close to the city in Stockholm is always >3 million SEK (~330k €).
If you add in the non-visible salary taxes ("sociala avgifter") and other hidden costs, the salaries are quite high... you just don't get any of that money.