Proverbs 19:6 in the King James Version
Many will intreat the favour of the prince: and every man is a friend to him that giveth gifts.
Context
5 A false witness shall not be unpunished. He who pours out lies shall not go free.
6 Many will entreat the favor of a ruler, and everyone is a friend to a man who gives gifts.
7 All the relatives of the poor shun him; how much more do his friends avoid him! He pursues them with pleas, but they are gone.