"And you shall rejoice before Hashem your G-d for seven days" (Vayikra 23:40)
In Parshas Emor, the Torah describes the proper way to observe the three festivals. Among the instructions, there is a special mitzvah to be happy. The Yalkut Shimoni (תרנ"ד) points out, that this mitzvah for us to rejoice is found three times in reference to Yom Tov. However, he notes that all three commandments appear with reference to Succos, once in Parshas Emor (ויקרא כ"ג:מ'), as the posuk says,"ושמחתם לפני ה' אלקיכם" - "And you shall rejoice before Hashem your G-d", and twice in Parshas Re'eh .(דברים י"ז:י"ד-ט"ו) This commandment is conspicuously absent from the mitzvos of Pesach. The Yalkut Shimoni resolves this inconsistency by explaining that during the Pesach season people have not yet harvested their grain and their income still remains in jeopardy. Therefore, it is not possible for man to be in a total state of happiness, and thus the Torah does not instruct him to be happy.
At first glance, this explanation would seem nearly as puzzling as the omission of the commandment. We certainly would have imagined that the Torah's definition and instruction of simcha would be a spiritual joy, independent of the physical pleasures that our human bodies desire. Thus, the insecurity in one's future livelihood, a physical need, should not interfere with Hashem commanding such a mitzvah and our obligation to rejoice spiritually.
The reality, however, is that the Torah's definition of joy and its commandment thereof, is an all-encompassing happiness. The Gemara (סנהדרין ל"ח ורש"י שם) explains that man was created last in the creation of the world, so that "his meal would be prepared" - and he would be able to partake. Hashem, in His great kindness, created humanity with a broad array of physical senses and desires. Moreover, Hashem's wish is to constantly provide us with all these pleasures, both spiritual as well as physical. Thus, the Torah does not instruct us to rejoice when our joy cannot also exist in the physical sense. This incomplete joy is not the joy that Hashem desires, nor instructs.
We are all familiar with the concept that Hashem created us in kindness with the desire to practice kindness to us. It is heartening to appreciate to what extent Hashem is concerned with our every need and desire.