Proverbs 17:5

17:5 Whoever mocks the poor reproaches his Maker. He who is glad at calamity shall not be unpunished.
-World English Bible

Other Translation

17:5 Whoso mocketh the poor reproacheth his Maker: [and] he that is glad at calamities shall not be unpunished.
-King James Version