Heb. goyim, “nations” (see on Ps. 2:1; 9:59). The conquests of David exalted the name of Israel’s God before the nations.
This verse is quoted by Paul (Rom. 15:9) as proof that the salvation of God is for Gentile as well as Jew. Because of the failure of David’s descendants the predictions of vs. 49, 50 will see their fulfillment only in Christ’s spiritual kingdom, which shall never cease.