The gates of righteousness. — This is explained by the next verse as the gate of the Temple, where the righteous, i.e., Israel alone, entered. There does not seem the least reason for taking the words here in any but this literal sense, though doubtless they are capable of endless spiritual applications. We must imagine a procession chanting the triumphal song as in Psalms 24, and summoning the gates to open on its approach.
Related Commentaries of Psalms 118:19
Psalms 118:19
19 Open to me the gates of righteousness: I will go into them, and I will praise the LORD: