Computer scientists rank in the top 42% for career happiness. That doesn’t put them at the very top of all professions, but computer scientists are happier than the average person. That might be tied to higher-than-average salaries, a feeling of accomplishment from the work they do, or a number of other factors.
The biggest reason for high unemployment in computer science, despite plenty of open positions, is that new graduates in the field are often deemed unqualified for open positions. Part of this is tied to ineffective hiring processes while other issues are related to problems with computer science degree programs.