Nick Vujicic said this quote

...one of the best ways to take the pain out of past experiences is to replace the hurt with gratitude.