In the US you can deduct the mortgage interest, which is even more of a benefit for the wealthy than the mortgage as a whole would be since the deduction decreases the longer someone stays in a home.
Social security being a flat percentage with a cap is also a form of class war.