Deuteronomy 23:20
You may charge a foreigner interest; but you shall not charge your brother interest, that the LORD your God may bless you in all that you put your hand to, in the land where you go in to possess it.
World English Bible (Public Domain)
In context
Before · Deuteronomy 23:18–19
18You shall not bring the hire of a prostitute, or the wages of a male prostitute, into the house of the LORD your God for any vow; for both of these are an abomination to the LORD your God. 19You shall not lend on interest to your brother: interest of money, interest of food, interest of anything that is lent on interest.
20You may charge a foreigner interest; but you shall not charge your brother interest, that the LORD your God may bless you in all that you put your hand to, in the land where you go in to possess it.