Don’t program (as much). Point yourself towards DevOps, SRE, and/or Platform Engineering. You’ll be designing complex systems and will have your hands in dozens of different tech stacks.
Sometimes I think a straight dev job would be interesting but I legitimately love the SRE space.