The answer to this questions comes down to the taxable brokerage account versus the tax-favoured retirement account. Here IRA would be a good example.
When you are opening an IRA the whole process involves choosing which type you prefer. These types involves traditional IRA, Roth IRA, SEP IRA and many more.
I can’t give you a clear answer to this question because I don’t know about your investing style, methods, skills etc.
To find out the answer to this question involves you and what you prefer when it comes to your investments.