Yep. I decided upon my major in a similar time period. People thought I was stupid, and my advisor advised me against it. There was a lot of doom and gloom on the internet - way more than any downturn since then. Way more than what you see about ChatGPT replacing programmers.
The options I was weighing were philosophy, math, or CS. I chose CS because I liked building things. I figured I could at least make minimum wage. If it turned out so terrible I could just go back to school for something else.
Much to my relief, my first job out of college paid me $50k.