I've been programming professionally for 30 years now, and I have learned sysadmin skills---the skills required changed at least three times and the skills I learned in the 90s/early 2000s are largely obsolete, the skills from the early 2000s/2010s are on the way out.
You can't win, you can't break even, and you can't get out of the game.