“You’re not unemployed, you’re funemployed!”
“I can get you a new job!” [and the job is totally inappropriate]
“When life gives you lemons, make lemonade”
“Do you know what you did to deserve it?”
“Everything happens for a reason”
Always provide encouragement and support. Losing your job sucks and most people go through the stages of mourning before being able to get on with their life. Just being a friend can be the most important thing.