The reward of suffering is experience
"Oresteia: Agamemnon". Play by Aeschylus,

The reward of suffering is experience