Charles Haddon Spurgeon said this quote

This woman gained comfort in her misery by thinking GREAT THOUGHTS OF CHRIST.