Matthew Henry said this quote

The way to forget our miseries, is to remember the God of our mercies.