Friedrich Nietzsche said this quote

It is intoxicating joy for the sufferer to look away from his suffering and to forget himself.