The psalmist proceeded to pray for the salvation and prosperity of his people ( Psalm 118:25-26). The one who comes in the Lord"s name refers to anyone who came to worship Yahweh at the temple. The psalmist and the people blessed such a one from the temple. The writer further glorified Yahweh as the giver of light to His people. The NIV of Psalm 118:27 b gives a better rendering of the Hebrew text than the NASB. It reads, "With boughs in hand, join in the festal procession up to the horns of the altar." This probably refers to a custom at the Feast of Tabernacles. The people waved branches to honor the Lord. Psalm 118:29 repeats Psalm 118:1. [source][source][source]
The crowds who welcomed Jesus at His Triumphal Entry during Passover season repeated Psalm 118:25-26 ( Matthew 21:9; Mark 11:9; Luke 19:38; John 12:13; cf. Matthew 23:39; Luke 13:35). "Hosanna" translates the Hebrew word for "save." The people believed Jesus was the promised Messiah. They regarded this psalm as predicting the Messiah, as is clear from their use of it at the Triumphal Entry. Evidently Psalm 118:27 b, "with boughs in hand," led the people to lay their boughs at the feet of Jesus" donkey ( Matthew 21:8). It was most appropriate for the people to do what they did since Jesus was entering Jerusalem to provide salvation. Jesus" application of the stone reference to Himself after he entered Jerusalem at His Triumphal Entry was a clear claim that He was the Messiah. [source][source][source]
This psalm teaches us much about Messiah, but its primary significance, as the Israelites used it originally, was glorifying God for providing deliverance. This deliverance came after a period of evident defeat. God had reversed an apparent disaster and brought great joy and victory out of it. We should praise Him, as the writer called on His hearers to do, whenever He does that for us. [1][source]