Psalm 7:9

9 Oh let the wickedness of the wicked come to an end; but establish the just: for the righteous God trieth the hearts and reins.