You aren’t looking at the full picture.
Inflation is at 11% in the UK.
If you get 4-5% interest, your annual return is a negative 6-7%(!).
Average yearly stock market returns of the SP500 are ~7% after inflation - which would equate to 18% return in the above example.
(I willfully ignored differences in inflation between countries and exchange rates for this toy example)