Psalm 9:7-10 praises the LORD as the eternal King who has established His throne for judgment and who judges the world with righteousness and equity. In its original setting, these words concern God's own righteous government rather than explicitly predicting a separate messianic judge.
Acts 17:31 reveals how this divine judgment will be carried out: God has appointed a day to judge the world in righteousness through a Man whom He has designated, giving assurance by raising Him from the dead. Paul identifies Jesus as God's appointed Judge. The connection with Psalm 9 is therefore theological rather than a direct quotation. The righteous worldwide judgment attributed to God in the psalm is, in New Testament revelation, exercised through the risen Christ.