
Rather you, him, etc. than me
Empathetic Relief
Expresses empathy by being thankful for not being in someone else's situation. 
Subtle Irony
Sometimes used ironically to mean you might actually want to be in that situation. 
Casual Tone
Used in informal situations among friends or colleagues. 