Shemot Rabbah, a collection of rabbinic homilies on the Book of Exodus, dives deep into this idea, using the verse "If you lend money to My people" (Exodus 22:24) as a springboard for exploring the pitfalls of greed.

The Midrash, in Shemot Rabbah 31, first interprets Proverbs 28:22, “A greedy man rushes after wealth,” as a commentary on lending practices. But before it gets there, it offers interpretations of the verse. The first? Cain.

The story of Cain and Abel is familiar, but this midrash paints a vivid picture of Cain’s avarice. According to this interpretation, the brothers decided to divide the world. Cain took the land, Abel the movable property. But Cain, consumed by greed, couldn’t stand that Abel possessed anything. He relentlessly pursued Abel, demanding, "Leave what is mine!" until he ultimately committed fratricide. The Midrash sees this as the ultimate example of "a greedy man rushes after wealth," a man so consumed by possessiveness that he was willing to kill his own brother.

And what was the consequence? "Restless and wandering you shall be on the earth" (Genesis 4:12). The Holy One, blessed be He, brought trouble wherever Cain went, so he was chased from place to place. Even his long life – longer even than Adam’s – was not enough to satiate his soul. And in the end, the Midrash says, Cain didn’t even receive a proper burial; he simply faded away until the flood swept him off the earth. A grim warning, isn't it?

The Midrash continues, offering other examples of those who "rush after wealth" to their own detriment. We meet Ephron, who haggled with Abraham over the price of the Cave of Makhpelah (Genesis 23). Rabbi Ḥama notes that every shekel mentioned in the Torah is a sela (a coin known from the Mishnaic period), in the Prophets, a litra (equivalent to twenty-five sela), and in the Writings, a centenarium (one hundred litra). But Rabbi Yehuda ben Pazi makes an exception: The shekels of Ephron were centenaria.

Ephron tried to squeeze every last shekel out of Abraham, and what did he gain? According to the Midrash, the very spelling of his name was diminished by a letter in the Torah, and the cave he tried to profit from wasn't even named after him! Talk about a short-sighted business strategy.

Then there's Esau, who traded his birthright for a bowl of stew (Genesis 25). Here, the Midrash tells us that Jacob convinced Esau to give up his portion in the Cave of Makhpelah in exchange for wealth. Esau, prioritizing immediate gain over ancestral connection, agreed. But the Midrash sees this as a grave mistake, a "lack" that would haunt him forever, because he did not enter the Cave of Makhpelah.

The Midrash extends its critique to everyday scenarios: the borrower too miserly to rent two cows, the person who skimps on tithes (ma'aser), and the one who lends money with interest (ribbit), exploiting the vulnerable. Rabbi Levi tells of a man who initially gave generous tithes. But over time, miserliness crept in, and his field became less and less productive. His relatives, seeing this, donned white garments to rejoice with him, saying that he was once the landowner, and God the priest, but now the reverse was true!

Rabbi Yitzchak adds that those who lend with interest are essentially amassing wealth for those who care for the poor – or, in a surprising twist, for Esau! While Esau might seem like an unlikely candidate for a philanthropist, the Midrash explains that even those who exploit the poor sometimes redistribute wealth, albeit for their own self-serving reasons. In a broader sense, the Babylonian kingdom's wealth will be given to Israel in the future, as it is written: “Its merchandise and its fee will be sacred to the Lord” (Isaiah 23:18).

So, what's the takeaway? This section of Shemot Rabbah isn't just about financial transactions; it's about the choices we make every day. Do we prioritize short-term gain over long-term values? Do we act with generosity or with greed? The Midrash suggests that true wealth lies not in accumulating possessions, but in acting with integrity and compassion. As the text concludes, "If you lend money and do not take interest from him, you are My people. Just as I will never stumble, so, too, you will never stumble." (Psalm 15:5) Perhaps that's the most valuable investment we can make.