The one who oppresses the poor does so for his own gain; the one who gives to the rich surely will come to poverty.
“gives gifts to the rich.” In this context the one giving a gift to the rich is buying influence and favor. Thus the “gift” is actually a kind of bribe, even if it is legally done.