Psalms 18:26 (KJV)

With the pure thou wilt shew thyself pure; and with the froward thou wilt shew thyself froward.