曲突徙薪

Etymology
From a story in Biography of and （霍光金日磾傳）, :

Idiom

 * 1) to take preventive measures; to take precautions (to prevent trouble from happening)