The LORD tries the righteous: but the wicked and him that loves violence his soul hates.
He tries them for their own good, that they may know themselves. He tries them for the good of others, that the world may learn how powerful a thing faith in God is, when it has once laid fast hold of His promises. It was for this purpose that He tested Abraham when He commanded him to offer up his son Isaac, with his own hand, a burnt offering unto the Lord. The trial taught Abraham — what he could never have known of himself without it — the character of true evangelical obedience, that it falters at no sacrifice known to be required by the will of God. It is these testing trials of the righteous that bring out their graces, develop and perfect their virtues. The hand of God is in them all, seeking higher praise for Himself, and working out a far more exceeding and eternal weight of glory for the believer. "The Lord trieth the righteous"; only, however, to consume their dross and refine their gold. The wicked have no just cause for triumphing over him, when they see the righteous man in affliction. The hand of God is thus upon him only for his good. His trials are no evidence that the fact is otherwise. The prosperity of the wicked is by no means indicative of the Divine approbation.
(David Caldwell, A. M.)
Parallel VersesKJV: The LORD trieth the righteous: but the wicked and him that loveth violence his soul hateth.