Rabbi Binyamin Sinkovsky / Holidays and Festivals / Shavuot
"If You Toiled and Found, Believe It" (Shavuot 5708 / 1948)
Regarding the saying of the Sages: "If someone says, 'I have toiled and found' (Yagati u'matzati) - believe him" (Megillah 6b). This means that to the extent you toil and exert yourself in the service of the Creator, you find favor in the eyes of the Lord. Thus, everything is measured according to the measure of toil.
And all this toil is for the sake of the Receiving of the Torah. For the Torah is the aspect of the "Elixir of Life" (Sam Chayim), a medicine for the (spiritual) illnesses that all souls inevitably encounter immediately upon entering the air of the world. And the Torah is the medicine, the deciding factor between the lines. For there are two lines: Right and Left. And both of them, by themselves, are not good without the Deciding Line (the Middle Line). And this [Middle Line] is called the "Receiving of the Torah." All the toil is to merit receiving the Middle Line!
And this is what they meant by "If you toiled" (Yagati): If, from your side, you did everything in your power to do; you exerted every kind of toil in the world, suffered all kinds of agonies, and took all sorts of actions to distance and separate yourself from the extremes, to separate from excesses, not to listen to the temptations of the Evil Inclination and bodily desires. If you devised all kinds of strategies to oppose the tendencies of the body, which by its nature constantly hinders you with all kinds of obstacles and disturbances from doing the Creator's will... If you indeed did so, and opposed it with all your strength and ability, and fought against it in every kind of war—then the Holy One, Blessed be He, has mercy on you and brings you into the Middle Line! This is considered receiving the Torah for eternity. And this is called "finding favor in the eyes of the Lord." "If you toiled and found, believe it; if you did not toil, do not believe it."
And thanks to the fact that the Jews suffered so much in Egypt and exerted themselves with all kinds of toil, they merited to receive the Torah afterwards, as a result of their abundant sufferings and toils in Egypt.