A couple interesting anecdotes. My first boss had multiple degrees in music, and was a professional touring classical musician. He self taught himself programming because he needed to actually make some money. Now he's a CTO at a large company.
My next boss had a degree in English. His thought was that no matter what he did with his life, communication was always at the center. He had founded 2 different tech companies before I met him, and he's now the CTO of a large company.
One of the smartest people I've ever personally worked with went to seminary (I'm not sure if he was an atheist before or after, but talk about fun conversations over a beer). He was preoccupied with finding meaning in life, and did things like math and CS with what seemed like his spare cycles.
The point is that a persons degree really only matters for their first job, and often even then only if they want to work at a FAANG for that first job. Where people end up 5-10-15-20 years later in their career has little to do with their degree.