Coming from a "poor" entrepreneur who has previously held six-figure software engineer salaries, I can say there's more to entrepreneurship than salary. When I busted my ass working overtime to add cool new features, nobody cared. The company doesn't care, the boss doesn't care, your coworkers don't care either. If I have to spend 1/3 of my life at work, I might as well be doing something I love, even if it puts my retirement at risk.
You can retire well even if you only make $10 an hour for 40 years. It just requires you to be very frugal with your expenses and investing wisely. Let interest do the heavy lifting for your retirement :)