I was a CS undergrad from 2002-2006 and I think almost everyone I knew was there because they were very interested in technology. I wonder if the .com bubble bursting had reset that? I didn’t notice a significant number of people entering the field purely for money until the early 2010s.