I was on the "max out retirement accounts" train when I was younger. When I got older and home prices got massively inflated, I wished I kept more of that in non retirement accounts to be made more easily liquid for a home without steep penalties.
Saving tax while something grows is great, unless you need that cash sooner. Then it is not too helpful.
I wish there were a tax advantaged vehicle to use for setting aside money for a home.
So yes, definitely invest in tax advantaged accounts, but do so with a solid understanding of your expected financial needs as best you can model for the next 5-10 years. If you need access to that money sooner, what you'd lose on tax may be worth the flexibility of having those investments somewhere more easily liquidated.