Hindsight is 20/20. It’s all about what the right decision was with the information available to you at the time, not what decision would’ve had the best outcome in retrospect.
That said, I still agree with OP - it's good advice not to put too much stock in stock (unless it's liquid).
You don’t get to play as many hands in your career as you do in a session of poker, so if you’re optimizing for income, generally speaking you should go for a job that gives you the highest guaranteed income rather than work for startups with, say, 1% odds of netting you significantly more than you would get at FAANG, for example.