亡羊补牢,未为晚也
“It is not too late to mend the pen after a sheep has been lost.”
It is never too late to fix a mistake and prevent further loss.
— Traditional China Wisdom, China
Source: Zhanguo Ce (Strategies of the Warring States), Chu Ce, circa 3rd century BCE