(noun) The act of consoling.
"The thought of suicide is a great consolation: by means of it one gets through many a dark night."
"Consolation for those moments when you can't tell whether you're the divinest genius or the greatest fool in the world."