The phrase
"bath water" refers to the dirty water that remains after you have taken a bath. It is often used figuratively to describe the things or people that should be removed or eliminated because they are no longer useful or valuable.
Full definition