迷途知返

realize one's errors and mend one's ways

mí tú zhī fǎn ㄇㄧˊ ㄊㄨˊ ㄓㄧ ㄈㄢˇ