this is generally useful and true, but it was more so when boring and safe investments (e.g. government bonds) were paying significant interests.
As of now, a 10y US treasury bill will pay less than 2%, and 2% compounded is still not much ("your $1000 saved today will become $1999 if you don't touch it for 35 years!").
Learning to save in general is probably the more fundamental information, imho.
EDIT: obviously investing in stocks-based funds comes with extra risks, and extra profit. If anything learning that risk and profit are connected is an even more important insight.