lín kě jué jǐng
lit. not to dig a well until one is thirsty
to be unprepared and seek help at the last minute (idiom)
临
lín
to face
渴
kě
thirsty
掘
jué
to dig
井
jǐng
a well