砥節礪行
dǐ​jié​lì​xíng

to temper one's character