Charles Haddon Spurgeon said this quote

It is well for us when prayers about our sorrows are linked with pleas concerning our sins—when, being under God's hand, we are not wholly taken up with our pain, but remember our offences against God.