take the bad with the good
To accept both the negative and positive aspects of something. The phrase is typically used in an acknowledgement that nothing is perfect. When it comes to this job, you have to take the bad with the good. It's hard, but it's worth it.
take the ˌbad with the ˈgood
accept the bad aspects of something as well as the good ones: You must learn to take the bad with the good in this job. Things don’t always go as well as you think they should.