Open to me the gates of righteousness,.... The doors of the sanctuary or tabernacle, so called, because none but righteous persons might enter in at them, or who were clean in a ceremonial sense; and because sacrifices of righteousness were here offered.
The words are addressed to the porters, or Levites, that kept the doors of the tabernacle, to open them. The Targum is,"open to me the gates of the city of righteousness;''Jerusalem, so called Isa 1:26; the gates of which were opened to David, when he took it from the Jebusites.
An emblem of the church or city of God, the gates of which are opened to the righteous to enter into now; and of the New Jerusalem, and of the heavenly glory, into which the saints will have an abundant entrance hereafter; see Isa 26:1.