臨渴掘井

Etymology
Based on the :

Idiom

 * 1)  to fail to make a timely preparation and look for a solution at the last minute