Language:
Free Online Dictionary|3Dict

閑邪存誠

Source : CEDICT

to restrain vicious habits and foster sincere ones (idiom)