Psalm 18:26
"With the pure thou wilt shew thyself pure; and with the froward thou wilt shew thyself froward."
Cross References (ranked by relevance)
Proverbs 3:34
Surely he scorneth the scorners: but he giveth grace unto the lowly.
James 2:13
For he shall have judgment without mercy, that hath shewed no mercy; and mercy rejoiceth against judgment.
Romans 2:9
Tribulation and anguish, upon every soul of man that doeth evil, of the Jew first, and also of the Gentile;