1 O give thanks to the LORD, for he is good; his steadfast love endures forever!
2 Let Israel say, "His steadfast love endures forever."
3 Let the house of Aaron say, "His steadfast love endures forever."
4 Let those who fear the LORD say, "His steadfast love endures forever."
5 Out of my distress I called on the LORD; the LORD answered me and set me in a broad place.
6 With the LORD on my side I do not fear. What can mortals do to me?
7 The LORD is on my side to help me; I shall look in triumph on those who hate me.
8 It is better to take refuge in the LORD than to put confidence in mortals.
9 It is better to take refuge in the LORD than to put confidence in princes.
10 All nations surrounded me; in the name of the LORD I cut them off!
11 They surrounded me, surrounded me on every side; in the name of the LORD I cut them off!
12 They surrounded me like bees; they blazed like a fire of thorns; in the name of the LORD I cut them off!
13 I was pushed hard, so that I was falling, but the LORD helped me.
14 The LORD is my strength and my might; he has become my salvation.
15 There are glad songs of victory in the tents of the righteous: "The right hand of the LORD does valiantly;
16 the right hand of the LORD is exalted; the right hand of the LORD does valiantly."
17 I shall not die, but I shall live, and recount the deeds of the LORD.
18 The LORD has punished me severely, but he did not give me over to death.
19 Open to me the gates of righteousness, that I may enter through them and give thanks to the LORD.
20 This is the gate of the LORD; the righteous shall enter through it.
21 I thank you that you have answered me and have become my salvation.
22 The stone that the builders rejected has become the chief cornerstone.
23 This is the Lord's doing; it is marvelous in our eyes.
24 This is the day that the LORD has made; let us rejoice and be glad in it.
25 Save us, we beseech you, O LORD! O LORD, we beseech you, give us success!
26 Blessed is the one who comes in the name of the LORD. We bless you from the house of the LORD.
27 The LORD is God, and he has given us light. Bind the festal procession with branches, up to the horns of the altar.
28 You are my God, and I will give thanks to you; you are my God, I will extol you.
29 O give thanks to the LORD, for he is good, for his steadfast love endures forever.
Therefore thus says the Lord GOD,
See, I am laying in Zion a foundation stone,
a tested stone, a precious cornerstone, a sure foundation:
"One who trusts will not panic."
Testament of Solomon 22f: The Legend of the Immovable Cornerstone
/22:1/ The king of Arabia, Adarkes, sent a letter containing the following: "King of Arabia, Adarkes, to King Solomon, greetings. I have heard about the wisdom which has been granted to you and that, being a man from the Lord, there has been given to you understanding about all the spirits of the air, the earth, and beneath the earth. /2/ There still exists a spirit in Arabia. Early in the morning a fresh gust of wind blows until the third hour. Its terrible blast even kills man and beast and no (counter-)blast is ever able to withstand the demon. /3/ I beg you, therefore, since this spirit is like a wind, do something wise according to the wisdom which has been given to you by the Lord your God and decide to send out a man who is able to bring it under control. /4/ Then we shall belong to you, King Solomon, I and all my people and all my land; and all Arabia will be at peace if you carry out this act of vengeance for us. /5/ Consequently, we implore you, do not ignore our prayer and do become our lord for all time. farewell my lord, as ever."
/6/ After I, Solomon, read this letter, I folded it, gave it to my servant, and said to him, "After seven days, remind me of this letter." /7/ So Jerusalem was being built and the Temple was moving towards completion. Now there was a gigantic cornerstone which I wished to place at the head of the corner to complete the Temple of God. /8/ All the artisans and all the demons who were helping came to the same (location) to bring the stone and mount it at the end of the Temple, but they were not strong enough to budge it.
/9/ When seven days had passed and I remembered the letter of the king of Arabia, I summoned my servant boy and said to him, "Load up your camel, take a leather flask and this seal, /10/ and go off to Arabia to the place where the spirit is blowing. Then take hold of the wineskin and (place) the ring in front of the neck of the flask (against the wind). /11/ As the flask is being filled with air, you will discover that it is the demon who is filling it up. Carefully, then, tie up the flask tightly and when you have sealed (it) with the ring, load up the camel and come back here. Be off, now, with blessings."
/12/ Then the boy obeyed the orders and went to Arabia. Now the men from the region doubted whether it was possible to bring the evil spirit under control. /13/ Nonetheless, before dawn the house servant got up and confronted the spirit of the wind. He put the flask on the ground and placed the ring on (its mouth). (The demon) entered the flask and inflated it. /14/ Yet the boy stood firm. He bound up the mouth of the flask in the name of the Lord Sabaoth and the demon stayed inside the flask./15/ To prove that the demon had been overcome, the boy remained three days and, (when) the spirit did not blow any longer, the Arabs concluded that he had really trapped the spirit.
/16/ Then he loaded the flask on the camel. The Arabs sent the boy on his way with gifts and honors, shouting praises to God, for they were left in peace. Then the boy brought in the spirit and put it in the foremost part of the Temple. /17/ The following day I, Solomon, went into the Temple (for) I was very worried about the cornerstone. (Suddenly,) the flask got up, walked for seven steps, and fell down on its mouth before me. /18/ I was amazed that (even though the demon was entrapped in) the flask, he had the power to walk around, and I ordered him to get up. Panting, the flask arose and stood up. /19/ Then I asked him, saying, "Who are you?" From inside the spirit said, "I am a demon called Ephippas (and I live) in Arabia."
/20/ I said to him, "By what angel are you thwarted?" He said, "By the one who is going to be born of a virgin and be crucified by the Jews."
/23:1/ Then I said to him, "What can you do for me?" he responded, "I am able to move mountains, to carry houses from one place to another, and to overthrow kings." /2/ I said to him, "If you have the power, lift this stone into the beginning of the corner of the Temple." But he responded, "I will raise not only this stone, King; but, with (the aid of) the demon who lives in the Red Sea, (I will) also (lift up) the pillar of air (which is) in the Red Sea and you shall set it up where you wish."
/3/ When he had said these things, he went in underneath the stone, lifted it up, went up the flight of steps carrying the stone, and inserted it into the end of the entrance of the Temple. /4/ I, Solomon, being excited, exclaimed, "Truly the Scripture which says, It was the stone rejected by the builders that became the keystone, has now been fulfilled," and so forth. [Old Testament Pseudepigrapha, 1]
Lachs [Rabbinic Commentary on the New Testament, 355] notes that "in one late passage [Esther R. 3.6] the Messiah is compared to a stone."
It is written in the Gospels, "The stone in the structure which is there unlawfully is an assurance of its destruction." [Tarif Khalidi, [The Muslim Jesus], p. 158]