How to learn Programming

I was talking to a human today about the journey to become a programmer. I think I set them up for success as I told them to learn the fundamental data structures and algorithms, learn a few languages (especially SQL), and keep up to date on acculturating platforms like [reddit](reddit.com/r/programming), [hacker news](news.ycombinator.com) and [lobsters](lobse.rs). This is how I learned to program so it is a kind of truth, but it is only one of the many paths. What is the strongest path? I don't know. Memes suggest that learning c and c++, then focusing on machine learning is the way to go. Or becoming a javascript developer. I think that learning Lisp will make you strong, but what have I done with it? (Nothing notable.)