Maxing your 401k is good advice.
But it's also how some people end up with $1M they can't touch until 59.5, when they need it sooner.
If you want to make sure you are putting your money in the right place, it starts with knowing your target date.