Chasidut for Kiddushin 79:12
מחשבה טובה מצרפה למעשה שנאמר (מלאכי ג, טז) אז נדברו יראי ה' איש אל רעהו ויקשב ה' וישמע ויכתב ספר זכרון לפניו ליראי ה' ולחושבי שמו מאי ולחושבי שמו אמר רב אסי אפילו חשב אדם לעשות מצוה ונאנס ולא עשאה מעלה עליו הכתוב כאילו עשאה
yet you say that he teaches [some] and omits [others]! - Said Raba, R'Idi explained it to me: Say ye of the righteous, when he is good, that they shall eat the fruit of their doings:<span class="x" onmousemove="('comment',' Isa. III, 10.');"><sup>20</sup></span> is there then a righteous man who is good and a righteous man who is not good? But he who is good to Heaven and good to man, he is a righteous man who is good; good to Heaven but not good to man, that is a righteous man who is not good.<span class="x" onmousemove="('comment',' Hence the verse refers to the first, in connection with whom 'they shall eat the fruit of their doings', i.e., be rewarded in this world. But dismissing the dam is 'good to Heaven' only, i.e., it is obedience to God's will, but of no benefit to man.');"><sup>21</sup></span>
Kedushat Levi
When a person prepares to “meet” his Creator, in prayer, etc., he also has to prepare himself for what to expect, by performing certain commandments that serve his soul, much as his clothing serves his body. One of the most appropriate “introductions” prior to addressing G’d is to do so in a house designated for this purpose, i.e. a synagogue. The type of “preparations” used, depend on the importance of the “interview” one expects to have with one’s Creator. Issues involving life and death, obviously deserve a more careful preparation.
In psalms 84,2 and 84,3 respectively, the authors (sons of Korach) describe their yearning for entering either the dwellings of G’d on earth, or at least to be allowed to enter the courtyards of these dwellings. They speak of both their body (flesh) and their “heart,” (spirit) yearning for this. They hope that admission to these sites will enable them to shout for joy to the living G’d. Their yearnings reflect the fact that they are in exile, and they pray that they not be treated worse than birds that always can return to their nest. They are aware that in order to really come close to G’d, they must first make the appropriate preparations, i.e. build a Temple with the courtyards surrounding it. The psalmist clearly suggests, at the end of verse 3, that only after these preparations have been made can his heart and body rejoice having come closer to His Creator. He can then approach G’d being certain that he, on his part, has made the appropriate preparations.
Our author sees in the word נכספה at the beginning of verse 3 an additional spiritual plus of the psalmist, as he made plain that he had made the necessary preparations that would entitle him to have the desired “interview” with Hashem, but he emphasizes, that contrary to performing such a commandment as putting on phylacteries, an act that does not involve pleasurable sensations of his body, what he did when building a courtyard and temple for G’d involved him emotionally on the highest level. He was literally yearning for the spiritual experience no less than the body on occasion yearns for satiating physical urges.
On folio 40 in Kidushin 40, where the Talmud deals with the relative moral/ethical value of appropriate intentions when compared to performance, but not necessarily with appropriate intentions, we are told that if someone planned sincerely to perform a certain commandment but was prevented from carrying out his intention by forces beyond his control, he is credited with having performed the commandment. In emphasizing the value of a constructive attitude, the Talmud adds that planning to commit a transgression, and carrying it out, brings in its wake a penalty only for the execution, not for the planning that preceded carrying out the foul deed. [The planning of idolatry is the only exception to this rule. ibid. Ed.]
This is also the meaning of Deuteronomy 6,6: והיו הדברים האלה אשר אני מצוך היום על לבבך, “these matters that I command you this day shall be on your heart.” Even commandments that are not capable of being fulfilled in exile should remain part of our constant consciousness through discussion between father and son, pupil and teacher, so that we are not deprived of receiving a reward for them as if we had actually performed them. The desire to be able to perform the respective commandments in reality is the principal criterion used by G’d to judge our mitzvah performance. Even King David in Chronicles I 22,14 already referred to this when he said (concerning his desire to build a Temple) והנה בעניי הכינותי לבית ה' זהב ככרים מאה אלף כסף וגו', “and here through denying myself, I have set aside for the house of the Lord one hundred thousands talents of gold, and one million talents of silver, etc;” what David meant was that the commandment of charity cannot only be fulfilled by the actual handing out of sums of money, but can also be carried out by preparing such monies to be ready when the need arises. David adds that even while he was not able to hand out sums that were needed because he was temporarily short of even bare essentials for himself, i.e. בעניי, his sincere desire to be of help would be accounted for him as if he had actually carried out his desire, as we know from psalms 119,106 נשבעתי ואקימה לשמור משפטי צדקך, “I have sworn to keep Your just rules.” [As soon as the opportunity will arise. Ed.] Yaakov had similar thoughts when he vowed that if G’d would be with him and grant him even minimal comforts he would turn what is now merely a stone into a building designed to serve G’d. G’d reminds him (31,13) of this vow by describing Himself as אנכי הא-ל ביתאל, saying that His presence will not only be with him in his heart, but that he can now carry out his desire to convert the stone he had anointed into a house of G’d.