qián​chē​kě​jiàn

to learn from past mistakes