chastened

verb

(of a rebuke or misfortune) have a restraining or moderating effect on.