Correct

临渴掘井

/ lín kě jué jǐng / 
Strokes

Definition

lit. not to dig a well until one is thirsty/to be unprepared and seek help at the last minute (idiom)

Example

Definition

start digging a well when thirsty―start acting too late; make no preparation until the last moment

1
Wúlín
毋临
kě
渴
ér
而
jué
掘
jǐng
井
  
,
yí
宜
wèi
未
yǔ
雨
ér
而
chóumóu
绸缪
  
。

It is too late to dig a well when you are already thirsty, and it is advisable to repair your house before the rain comes. / Do not wait until you are thirsty to start digging a well; it is much wiser to repair your roof before it rains.