取其精华,去其糟粕 qǔqíjīnghuáqùqízāopò take the essence and discard the dregs
Keep what is best or useful while throwing away what is worthless or harmful; used as a slogan for being selective when adopting foreign ideas or traditional culture.traditional culture.