泥棒を捕らえて縄を綯う

Etymology
Phrase consisting of +  +  +  +  +.

Literally, “capture a thief, and then plait the rope.” Compare 🇨🇬.

Phrase

 * 1)  to make one's preparations after events have already begun: to put the cart before the horse, to start something in the eleventh hour