I disagree with this - assuming the average white collar job (given HN), you _will_ progress salarywise from your early 20s to your early 30s.
When I was a Jr. Software Dev at 23, I both didn't have the money to afford a house where I got all the job offers (which wouldn't make sense), nor would it have been a good idea given I would've wanted to stay open to chasing higher salaries after 1-3 years elsewhere (which I did).
Maybe some decades ago it was common to spend your whole professional career in the same city, but as a dev I've had jobs pop up in different cities, heck even different countries!