People say "Don't go into Computer Science" because it's not a good career path, since writing software has been largely automated and it's only going to become harder to find a job.
Excitement has nothing to do with it. I'm sure people who study medieval French literature find it very exciting, but I wouldn't recommend it to anyone who wants a career out of it.
Software engineering and computer science will become exactly that: a field for people who find it interesting but are completely useless economically.