This is a great concern to have - and I agree with you. You should major in something you like that also has good job potential. If the thing you absolutely love (like art history) doesn't have good job potential, settle for something that you like that does. You can always study art history as a hobby.
The education industry has fooled a lot of people into thinking you should pay a University gobs of money to study "something you love." You're only in college about 4 years. The rest of your life will hopefully be much longer than that. You're paying the university for a degree that is supposed to help you get a job, nothing more. If philosophy or art history is your passion, buy some books and study it on your own time - that's free. You don't need to pay a university to pursue your passions.
All of that being said, I think it's still a great time to pursue a CS degree. More people are going into it, but there's also been an explosion of tech startups, and tech companies in general will continue to grow.