The Mosaic Law and the Prophets strongly condemned the practice of usury -- or charging interest -- between the different tribes of Israel. It was viewed as a selfish, greedy practice. Only to foreigners was it permitted to charge interest, which is why it says "Unto a stranger thou mayest lend upon usury". It is in fact through this greedy practice of charging interest to the Gentile world, that the Jews have enriched themselves.
"And if thy brother be waxen poor, and fallen in decay with thee; then thou shalt relieve him: yea, though he be a stranger, or a sojourner; that he may live with thee. Take thou no usury of him, or increase: but fear thy God; that thy brother may live with thee. Thou shalt not give him thy money upon usury, nor lend him thy victuals for increase."
Leviticus 25:35-37, KJV
"Thou shalt not lend upon usury to thy brother; usury of money, usury of victuals, usury of any thing that is lent upon usury: Unto a stranger thou mayest lend upon usury; but unto thy brother thou shalt not lend upon usury: that the LORD thy God may bless thee in all that thou settest thine hand to in the land whither thou goest to possess it."
Deuteronomy 23:19-20, KJV
"And there was a great cry of the people and of their wives against their brethren the Jews. For there were that said, We, our sons, and our daughters, are many: therefore we take up corn for them, that we may eat, and live. Some also there were that said, We have mortgaged our lands, vineyards, and houses, that we might buy corn, because of the dearth. There were also that said, We have borrowed money for the king's tribute, and that upon our lands and vineyards. Yet now our flesh is as the flesh of our brethren, our children as their children: and, lo, we bring into bondage our sons and our daughters to be servants, and some of our daughters are brought unto bondage already: neither is it in our power to redeem them; for other men have our lands and vineyards. And I was very angry when I heard their cry and these words. Then I consulted with myself, and I rebuked the nobles, and the rulers, and said unto them, Ye exact usury, every one of his brother. And I set a great assembly against them. And I said unto them, We after our ability have redeemed our brethren the Jews, which were sold unto the heathen; and will ye even sell your brethren? or shall they be sold unto us? Then held they their peace, and found nothing to answer. Also I said, It is not good that ye do: ought ye not to walk in the fear of our God because of the reproach of the heathen our enemies? I likewise, and my brethren, and my servants, might exact of them money and corn: I pray you, let us leave off this usury. Restore, I pray you, to them, even this day, their lands, their vineyards, their oliveyards, and their houses, also the hundredth part of the money, and of the corn, the wine, and the oil, that ye exact of them. Then said they, We will restore them, and will require nothing of them; so will we do as thou sayest. Then I called the priests, and took an oath of them, that they should do according to this promise. Also I shook my lap, and said, So God shake out every man from his house, and from his labour, that performeth not this promise, even thus be he shaken out, and emptied. And all the congregation said, Amen, and praised the LORD. And the people did according to this promise."
Nehemiah 5:1-13, KJV
"But if a man be just, and do that which is lawful and right, And hath not eaten upon the mountains, neither hath lifted up his eyes to the idols of the house of Israel, neither hath defiled his neighbour's wife, neither hath come near to a menstruous woman, And hath not oppressed any, but hath restored to the debtor his pledge, hath spoiled none by violence, hath given his bread to the hungry, and hath covered the naked with a garment; He that hath not given forth upon usury, neither hath taken any increase, that hath withdrawn his hand from iniquity, hath executed true judgment between man and man, Hath walked in my statutes, and hath kept my judgments, to deal truly; he is just, he shall surely live, saith the Lord GOD. If he beget a son that is a robber, a shedder of blood, and that doeth the like to any one of these things, And that doeth not any of those duties, but even hath eaten upon the mountains, and defiled his neighbour's wife, Hath oppressed the poor and needy, hath spoiled by violence, hath not restored the pledge, and hath lifted up his eyes to the idols, hath committed abomination, Hath given forth upon usury, and hath taken increase: shall he then live? he shall not live: he hath done all these abominations; he shall surely die; his blood shall be upon him. Now, lo, if he beget a son, that seeth all his father's sins which he hath done, and considereth, and doeth not such like, That hath not eaten upon the mountains, neither hath lifted up his eyes to the idols of the house of Israel, hath not defiled his neighbour's wife, Neither hath oppressed any, hath not withholden the pledge, neither hath spoiled by violence, but hath given his bread to the hungry, and hath covered the naked with a garment, That hath taken off his hand from the poor, that hath not received usury nor increase, hath executed my judgments, hath walked in my statutes; he shall not die for the iniquity of his father, he shall surely live."
Ezekiel 18:5-17, KJV
"In thee have they taken gifts to shed blood; thou hast taken usury and increase, and thou hast greedily gained of thy neighbours by extortion, and hast forgotten me, saith the Lord GOD."
Ezekiel 22:12, KJV
In total contrast to the previous verses which condemn this greedy form of usury in which one person enriched himself at the expense of another, in the New Testament, in the Parable of the Ten Talents, Jesus describes money exchangers -- brokers or bankers -- who paid people interest as a reward for depositing their money in their bank. This is how banks are supposed to operate. However, sadly, banks have become extremely greedy, and the interest rate that is paid on bank deposits is extremely low.
"His lord answered and said unto him, Thou wicked and slothful servant, thou knewest that I reap where I sowed not, and gather where I have not strawed: Thou oughtest therefore to have put my money to the exchangers, and then at my coming I should have received mine own with usury."
Matthew 25:26-27, KJV
"And he saith unto him, Out of thine own mouth will I judge thee, thou wicked servant. Thou knewest that I was an austere man, taking up that I laid not down, and reaping that I did not sow: Wherefore then gavest not thou my money into the bank, that at my coming I might have required mine own with usury?"
Luke 19:22-23, KJV