Proverbs 13:21 in the King James Version
Evil pursueth sinners: but to the righteous good shall be repayed.
Context
20 One who walks with wise men grows wise, but a companion of fools suffers harm.
21 Misfortune pursues sinners, but prosperity rewards the righteous.
22 A good man leaves an inheritance to his children’s children, but the wealth of the sinner is stored for the righteous.