Scholars in ancient times emphasized keeping oneself pure and upright.
Tips
culture
The fixed phrase 守身如玉 ('keep oneself pure as jade') is the most idiomatic use today — historically about female chastity, but in modern usage often broadened to mean preserving moral integrity in either gender.