Mercy for the Wise Only(Masechet Berachot Daf לג. Perek 5 Siman 94)
(condensed from Ein Ayah, Berachot 5:94)
Gemara: It is forbidden to have mercy on whoever does not have wisdom, as the pasuk says: “For they are not a nation of understanding, therefore their Maker will not have mercy on them” (Yeshaya 27:11).
Ein Ayah: Hashem put the tendency of mercy in the soul of man because it is a characteristic of shleimut (completeness), like charity, which saves people from being sentenced to gehinom (purgatory) (Gittin 7a). That is why Hashem, Who could have sustained us all without needing mercy from others, wanted to give people the opportunity to complete themselves by caring about the needs of others.
However, it is a problem to show mercy to those who do not have the wisdom to appreciate the value of mercy. Instead of understanding the above, the unwise recipient of mercy will come to believe that there is little point to be concerned about the letter of the law. The more people forgive him, the more his tendency to disregard responsibility grows. In contrast, one who has wisdom understands, even when he receives mercy, that it is better to receive what he needs according to justice. Such a person will exert himself, in the future, to survive without mercy. This is similar to Chazal’s statement (Chagiga 16a) on the pasuk: “Do not have belief in evil” (Micha 7:5). They say that if the evil inclination tells you to sin and Hashem will forgive you, do not believe him.
The point of the world is to allow people to attain reward that they have earned through hard work according to the Divine attribute of justice. One who is wise will consider when it is appropriate to receive Hashem’s mercy and will not become over-reliant on it.