deitar fora a criança com a água do banho

Verb

 * 1)  to throw the baby out with the bathwater to discard something valuable while discarding something useful