bīng​lái​jiàng​dǎng​shuǐ​lái​tǔ​yǎn

to meet any challenge with appropriate measures

兵来将挡,水来土掩 兵來將擋,水來土掩 bīng​lái​jiàng​dǎng​shuǐ​lái​tǔ​yǎn
to meet any challenge with appropriate measures
(idiom) to counter soldiers with generals and water with earth; to adopt whatever measures are necessary to deal with a specific situation as it arises
counter moves with measures
to adopt measures appropriate to the situation; literally, send a general to stop an approaching army and use earth to dam approaching water

Cross-References

Has variant