This advice is common. It should come with the caveat to investigate the vesting timeline for that 401k match. One of my former employers matched at a great rate, but that contribution did not vest until you had spent 4 years at the company. Given the rate of turnover at lower-seniority positions in the industry (PR agency), it was entirely unrealistic for more than half of the employees there to ever expect to see the benefit of that match.