I so agree! This is why (most) rich people I know lease their cars rather than buying them outright. Rather than forgoing a lump sum of cash for a car (which will depreciate AS SOON as you drive off with it), they are able to invest that lump sum of cash and only pay a minimal fee monthly for their lease.
The same can be said for purchasing a house vs renting, however the housing market typical tends to trend upwards, so it's less straightforward in this scenario.
There are loads of great YouTube videos out there on this sort of stuff for anyone that wants to do some more research on it!