Mencius wrote: “When Heaven is about to give a great task to a person, it first makes his mind suffer, tires his sinews and bones, starves his body, leaves him in want and throws his actions into confusion. In this way it stirs his mind, toughens his nature and adds to what he could not do.” (天将降大任于是人也,必先苦其心志)
The passage, Born in Adversity, Dying in Comfort, is part of the Chinese curriculum in middle school.