You pay taxes when you earn the money as salary, pay taxes on the interest. With a 401k, you pay no taxes when you earn the money as salary, and the earnings compound tax-free.
A bank account is the absolute worst place to park any significant amount of money. The only reason it's better than a mattress is you don't have to worry about the bank catching on fire.