> capital gains tax exists but is deferred until you sell the shares and then rich people don't do that
This gets pretty quickly into the philosophical what-are-we-doing-here-exactly of taxes, but:
1) Shares don't do very much on their own, so there isn't really a problem with that. I mean, dude owns a billion in shares - if they earn income dude will pay tax, if they don't the only true to get to the value is to sell them.
I imagine there are some gaping loopholes involving charities and debt, but that isn't anything to do with the deferment of the tax.
2) Because of inflation - and asset inflation is markedly higher than CPI - CGT is effectively a wealth tax because fairly quickly most of the value of an asset is the inflationary component. I've got gold bars where I allegedly am making a 100-and-something% return and that just flies in the face of the inert reality of the metal itself. The tax is markedly unfair, anyone trying to be a responsible saver ends up paying much more of their income in tax than someone who just spends it on the day and it effectively becomes a wealth tax that stops anyone in the middle class moving up over time. Moving wealth between assets is catastrophic to your financial health once CGT is a factor.
There are a bunch of quirky distortions in the tax system. CGT might even be one of the contributing factors to why people don't tend to have savings (although the biggest factor is probably psychology). Rationally speaking saving is quite an inefficient use of money if you end up paying CGT.