In my experience making money programming distills down to one of these:
1. Learn to solve business problems and add value and find an employer, client, or customers who will pay you for that.
2. Get into a funded startup that has vague plans and runway to spend money, then keep repeating buzzwords and “pivoting” until the money runs out or you win the lottery.