1. Learn computer science to at least a graduate level. It’s ok if your college major is something else.
2. Program and learn more about programming constantly.
3. Working for and with idiots is not a useless experience, but it’s commonplace and repetitive. Move on when you stop learning.
4. Program and learn some more. Keep at it for 30+ years.