phrasal 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. Explanatory English dictionary Merriam Webster. Толковый словарь английского языка Мерриам-Уэбстер. 2012