I obtained a chemistry degree in 2015. What initially influenced me was that chemistry was one of my favorite subjects in high school, and that I felt it would be sufficiently challenging to keep my brain interested over the 120+ hours of coursework. I found that it was pretty cool. Although I was originally drawn to the desire to understand organic chemistry and the flow of electrons and the lewis structures, etc... I didn't really enjoy it all that much and when exposed to physical chemistry (Thermo, Stats Mech, Quantum) I gravitated towards that field of study although I was not initially very good at it or very successful. This lead me into studying more mathematics and physics and ultimately participating in a Theoretical and Computational Biophysics research environment. This actually has lead to my present day transition into the field of web app development and Dev Ops. It was overall worth it and has been quite a fun ride. Perhaps I might have studied Computer Science or Cybersecurity if I had a mulligan regarding my university major but I don't actually think so because knowing the amount of chemistry and physics that I do at this point gives me a deeper insight into the tech field ventures that I have found myself wading through knee deep at the current point in time. Ultimately it is up to you and certain chemistry fields are drying up such as organic synthesis divisions at major pharmaceutical corporations being replaced by robotics. I do not think theoretical scientists will be replaced by machines and computers anytime soon though.