"If you are wise, you are wise for yourself; and if you scoff, you alone shall bear it" (Proverbs 9:12). A parable: to two people, one rich and one poor. Each day the rich one would say to the poor one, "How much property I have, how much silver and gold I have, how many gardens and orchards I have." And the poor one would answer him and say, "Even though you have all this wealth, I get no benefit from it; everything you have acquired, you have acquired for yourself." So the Holy One, blessed be He, answers the sages and says to them, "My children, even though you have acquired wisdom, you have acquired it for yourselves"; therefore it is said, "If you are wise, you are wise for yourself." Rabbi Eliezer used to expound: "If you are wise, you are wise for yourself" -- if you have become wise in Torah, do you suppose you are bringing joy to the Holy One, blessed be He, who gave you the wisdom?! As it is said, "If you are wise, you are wise for yourself" -- not for the One who gave you the wisdom! "And if you scoff, you alone shall bear it": if you have built yourself up with words of scoffing, you alone shall bear it, and not others. Another interpretation of "If you are wise": this is said to disciples of the sages. There we learned in a Mishnah (Mishnah Avot 4:10): "If you have toiled in Torah, He has much reward to give you; and if you have idled from the Torah, there are many idle things set against you."
If You Are Wise, You Are Wise for Yourself
Midrash Mishlei 9:3
(משלי ט יב): "אם חכמת - חכמת לך, ולצת - לבדך תשא": משל לשני בני אדם, אחד עשיר ואחד עני, והיה העשיר אומר לעני בכל יום 'כמה נכסים יש לי, כמה כסף וזהב יש לי, כמה גנות ופרדסים יש לי', והיה העני משיבו ואומר 'אפילו יש לך כל העושר הזה, אין לי ממנו הנאה, כל מה שקנית - לעצמך קנית', כך הקב"ה משיב לחכמים ואומר להם 'בני, אף על פי שקנית חכמה, לעצמך קנית', לכך נאמר "אם חכמת - חכמת לך". רבי אליעזר היה דורש: "אם חכמת - חכמת לך", אם חכמת בתורה, כאילו אתה משמח להקב"ה שנתן לך חכמה?! שנאמר "אם חכמת - חכמת לך", לזה שנתן לך חכמה?! "ולצת - לבדך תשא": אם גידלת עצמך בדברי ליצנות, לבדך תשא, ולא לאחרים. ד"א "אם חכמת" - הרי זה אמורה לתלמידי חכמים. תמן תנינן: (משנה אבות ד יא): "אם עמלת בתורה - הרבה שכר יש לו ליתן לך, ואם בטלת מן התורה - יש לך בטלים הרבה כנגדך".