You should live in France, having to pay 15% of the value of your home to be allowed to move, being cash poor (which means having low flexibility) because 50% of what your company pays for you goes to mandatory social things, taxes and insurances and most of the rest goes to fixed expenses.
In France the minimum wage is roughly indexed on inflation (especially if inflation isn't too high) but getting a raise when your salary is higher than this is very difficult, especially without job hopping. Your employer knows that he can risk not giving you a raise and you can't as easily risk being upset about it.
The US isn't so different. Federal capital gains taxes will eat a minimum of 10% of the appreciated portion of your home value, and more if you're in a higher tax bracket. Many states also tax proceeds on a home sale. I've got a property that I'll be selling soon in California and I expect to pay about $400k in total taxes.