Hinduism

Tukaram, Poem 842

He takes a stick and fiercely he assaults his body. He has caught it and laid it low in a burying-ground, yea, even a mound where men are burned; he has made it pay for all the luxuries it enjoyed. He felt no fear, knowing that it is God who feels pleasure or pain in us. It was put to this extremity to test the mind.
Tuka says, Experience is necessary in all things: a coward is chastised.

Source The Poems of Tukârâma, trad. J. Nelson Fraser et K. B. Marathe, 3 vol., 1909-1915, archive.org · Contents