"And the LORD God took the man and placed him in the Garden of Eden" (Genesis 2:15). Rabbi Yehudah says: He elevated him, as in the verse, "And the peoples shall take them and bring them to their place" (Isaiah 14:2). Rabbi Nechemiah says: He persuaded him, as in the verse, "Take words with you" (Hosea 14:3). Rabbi Yudan says: He gave him rest, and shielded him, and made him delicate and pampered with all the trees of the Garden of Eden. "And He placed him [vayanichehu]" means that He gave him the commandment of the Shabbat, as in the verse, "And He rested [vayanach] on the seventh day" (Exodus 20:11). "To work it [le'ovdah]" corresponds to "Six days you shall labor" (Exodus 20:9). "And to keep it [uleshomrah]" corresponds to "Keep [shamor] the day of the Shabbat" (Deuteronomy 5:12).
Why the Lord Placed Adam in the Garden of Eden
Yalkut Shimoni on Torah 22:5
(בראשית ב טו) וַיִּקַּח ה' אֱלֹהִים אֶת הָאָדָם וַיַּנִּיחֵהוּ בְּגַן עֵדֶן. רַבִּי יְהוּדָה אוֹמֵר, עִלָּה אוֹתוֹ כְּמוֹ דְּאַתְּ אָמַר "וּלְקָחוּם עַמִּים וֶהֱבִיאֻם אֶל מְקוֹמָם". רַבִּי נְחֶמְיָה אוֹמֵר, פִּתָּה אוֹתוֹ כְּמוֹ דְּאַתְּ אָמַר (הושע יד, ג) "קְחוּ עִמָּכֶם דְּבָרִים" וְגוֹ'. רַבִּי יוּדָן אוֹמֵר, הֵנִיחַ לוֹ, וְהֵגֵן עָלָיו וְעִדְּנוֹ מִכָּל אִילָנֵי גַּן עֵדֶן. וַיַּנִּיחֵהוּ, שֶׁנָּתַן לוֹ מִצְוַת שַׁבָּת, כְּמוֹ דְּאַתְּ אָמַר "וַיָּנַח בַּיּוֹם הַשְּׁבִיעִי". לְעָבְדָהּ, (שם ט) "שֵׁשֶׁת יָמִים תַּעֲבֹד" וּלְשָׁמְרָהּ, (דברים ה, יב) "שָׁמוֹר אֶת יוֹם הַשַּׁבָּת".