חכמת התורה - 2:3 “ויברך אלקים את יום השביעי ויקדש אותו, כי בו שבת מכל מלאכתו אשר ברא אלקים לעשות”
“And Hashem blessed the seventh day and sanctified it because on it He abstained from all His work which Hashem created to do.” Rashi says that what was worthy of being created on Shabbos was created on Erev Shabbos. The Gemara in Shabbos 30a says that Dovid Hamelech died on Shabbos. Why did Dovid Hamelech specifically die on Shabbos? Odom was worthy of being created on Shabbos Kodesh, however, being that Melachah is prohibited on Shabbos, Hakodosh Boruch Hu created man on Erev Shabbos. It was because Odom was supposed to be created on Shabbos that he needed to wait to eat from the Eitz Hada’as until Shabbos. The prohibition not to eat from it was only for that very short period of time, from when Odom was created, late in the day on Erev Shabbos, until Shabbos. When Hakodosh Boruch Hu created the world, man was supposed to be able to give Kiyum to the world on his own, to keep the world going. Hakodosh Boruch Hu also gave this power to Shabbos. Being that Shabbos has that power, Hakodosh Boruch Hu can rest on Shabbos. However, once Odom sinned, man couldn’t be relied upon to keep the world, and Hakodosh Boruch Hu has to constantly infuse life into the six days of the week. The Gemara in Rosh Hashanah 11a tells us that Hakodosh Boruch Hu fills the days of Tzaddikim to complete their years to the day. The Maharsha explains that if one sees that a great Tzaddik dies not on the day of his birth, not completing his years, it is because he is a Gilgul, and the day of death is the day of birth of the previous Gilgul. Odom Harishon was created on Erev Shabbos, but was worthy and the intent was to be created on Shabbos Kodesh. It says in the Pirkei D’Rebbe Eliezer 19 that Dovid Hamelech was given seventy years of life from Odom Harishon. Thus, when Odom Harishon died, he did not complete his years, for he still had seventy years which he gave to Dovid. However, when Dovid Hamelech died (the Gilgul of Odom Harishon), the completion of years was on Shabbos Kodesh, and the holy day of Shabbos was the appropriate day for Odom Harishon to be created. Dovid Hamelech wasn’t sure if he was a Gilgul of Odom Harishon or not. He thought that if he were to die on Erev Shabbos, the day that Odom was actually created, that would mean that he was a Gilgul of Odom. But if he died on Shabbos, then that would mean that he was not a Gilgul of Odom. However, Dovid Hamelech was incorrect, for Hakodosh Boruch Hu goes after the main thing, and that is when Hakodosh Boruch Hu had the Machshavah to create Odom – on Shabbos. Dovid Hamelech was a Gilgul of Odom, and died on Shabbos, which completed the years of Odom Harishon.
Now we can understand what the Midrash means when it says that Hakodosh Boruch Hu told Shabbos that Klal Yisroel would be its partner. It was most appropriate for man to be created on Shabbos Kodesh. While man was actually created on Erev Shabbos, it is considered as if man was created on Shabbos Kodesh. Shabbos Kodesh is also the day that the Torah was completed, as well as the day that it was given to Klal Yisroel. The Shechinah covers us like a mother hovering over her children, and all the evil spiritual beings are banished from the world. Klal Yisroel sit under the Kedusha of their Creator. The Shechinah gives new Neshomos to her children, Klal Yisroel. Shabbos is a מעין עולם הבה, meaning it has a taste of what Olam Habah is, for Olam Habah is a world of כולו שבת, complete Shabbos. Shabbos is our true partner – a way to connect to Hakodosh Boruch Hu. It is through the Torah Hakdosha and Shabbos Kodesh, that we can truly come close to Hakodosh Boruch Hu. We must treasure every Shabbos - the great gift of Shabbos Kodesh, our true partner.
