Fix the doors and windows at home before it rains, and don't dig wells when you are thirsty.
Take precautions: bind tightly. Metaphor is to prepare in advance.
Zhu Bailu (1627— 1698) was born in Yushan, Kunshan. Famous Neo-Confucianists and Educators in Ming Dynasty. Zhu Bailu's motto of managing the family, known as Zhuzi's family precepts, has been widely circulated since its publication. It was honored as a "classic of family management" by scholars of past dynasties and once became one of the required reading materials for children from the Qing Dynasty to the Republic of China.