Is the average for a developer really that low (in the US)? In the Boston-area market (now remote, but same pay scale), we're paying more than that for fresh college hires.
Get hired, contribute to your 401(k), buy a house, and do that for 15 years and in most markets I think your change in net worth over the 15 years is more likely to be >$1MM than less.