bù​guǎn​bái​māo​hēi​māo​zhuō​zhù​lǎo​shǔ​jiù​shì​hǎo​māo

no matter if it is a white cat or a black cat, a cat that catches mice is a good cat

不管白猫黑猫,捉住老鼠就是好猫 不管白貓黑貓,捉住老鼠就是好貓 bù​guǎn​bái​māo​hēi​māo​zhuō​zhù​lǎo​shǔ​jiù​shì​hǎo​māo
no matter if it is a white cat or a black cat, a cat that catches mice is a good cat
It doesn't matter what method is used as long as it works; pragmatism over ideological purity. This saying was famously used by 邓小平 dèng​xiǎo​píng to describe his economic reforms.