Sound advice. Now some brokerages have automatic buying for ETFs. Set it and forget it with a weekly or monthly buy. When factoring in management fees and tax-cost ratio, it’ll outperform just about every managed fund out there unless it’s a certain sector fund on a big run.
That's a good thing to do.
Then have all dividends re-invested automatically. If in an IRA or 401k there is no taxable event to the dividends or capital gains.
If in a taxable account select a ETF or mutual fund that has very low turnover and little dividends to avoid taxation of dividends and capital gains.
However, that is not new at all.
Back in the early 1980s I set up a weekly deduction plan with my employer where they set aside $50/week and it went by direct deposit into my money market account at Fidelity.
Then I had Fidelity do a monthly investment into it's Magellan Fund (at that time the minimum investment was $250).
This was 1983.