Proverbs 19:17 in the King James Version
He that hath pity upon the poor lendeth unto the LORD; and that which he hath given will he pay him again.
Context
16 He who keeps the commandment keeps his soul, but he who is contemptuous in his ways shall die.
17 He who has pity on the poor lends to the LORD; he will reward him.
18 Discipline your son, for there is hope; don’t be a willing party to his death.