It depends what the interest rate is. Basically paying off debt early is locking in a fixed rate of return. Doesn't make sense for a mortgage if you can average 10-15% in the S&P 500. Should definitely invest in a 401k if there's an employer match as a 1 for 1 match is basically a 100% return on investment. They should at least do whatever amount gets you the match.I tend to agree. Not an advocate of debt by any means. However I lean toward investing earlier rather than paying off debt faster. Neither is wrong so long as you eventually do both.
The last few years, the S&P 500 has been on a tear, 2019 had 31.47%, 2020 was 18.40% and so far in 2021, 27.58%. Of course 2018 was a dud at -4.4%. Was well worth it to invest in the last few years than paying off any debt.
FXAIX - Fidelity ® 500 Index Fund | Fidelity Investments
Analyze the Fund Fidelity ® 500 Index Fund having Symbol FXAIX for type mutual-funds and perform research on other mutual funds. Learn more about mutual funds at fidelity.com.
fundresearch.fidelity.com