Dig the well before you are thirsty.

口渴之前把井挖好。