Don’t throw the baby with the bathwater. meaning

HOME PROVERBS

discart

Don’t throw the baby with the bathwater.

suggests that:
You shouldn't eliminate or discart something good when you are trying to get rid of something bad.