We are not talking about a “passion” career where someone can be working poor, yet fulfilling a societal function: teachers, social workers, special needs, etc.
Programming is one of the best career investment opportunities available at the moment. You cannot take a six week bootcamp course and become a MD commanding a six figure salary. Yet that is a common enough story in this industry. Someone took bare minimum of training and is now making significantly more than traditional career opportunities.
Loving your job is great, but it is a luxury afforded to few. Might as well do the most you can to keep food on the table.