The hidden value of hardships