to discard or lose something useful or beneficial in the process of discarding or rejecting something unwanted
THROW OUT THE BABY WITH THE BATHWATER
Meaning of THROW OUT THE BABY WITH THE BATHWATER in English
Merriam Webster Collegiate English Dictionary. Merriam Webster - Энциклопедический словарь английского языка. 2012