Then when he says now we know that what things soever, he explains the text he quoted in three ways: first, by expounding its sense; second, its intention, at that every mouth; third, he gives the reason for his words, at because by the works of the law.
It should be noted that the Jews, against whom the Apostle was speaking, could, to excuse themselves, pervert the sense of the text he cited and claim that it referred to the gentiles, not to the Jews. But the Apostle rejects this, saying: now we know that what things soever the law speaks, it speaks to those who are in the law, i.e., to whom... the law is given and who profess the law: when Moses commanded us a law (Deut 33:4). But the gentiles were not under the law; accordingly, the above words pertain to the Jews.
Two objections are raised here. The first is that the above words were not taken from the law but from a psalm. The answer is that the word law is sometimes taken for the entire Old Testament, not for the five books of Moses alone, as in John: it is to fulfill the word that is written in their law: they hated me without cause (John 15:25), which was written in the Old Testament, not in the five books of Moses. This is the way law is taken here. Again, the Old Testament is sometimes divided into three parts, namely, the law, the Psalms, and the prophets, as in Luke: that everything written about me in the law of Moses and the prophets and the Psalms must be fulfilled (Luke 24:44). Finally, the entire Old Testament is sometimes divided into two, namely, the law and the prophets, as in Matthew: on these two commandments depend all the law and the prophets (Matt 22:40). In this sense the Psalter is included under the prophets.
The second objection is that in the law, i.e., in the Old Testament, many things are said that pertain to other nations, as is clear in many passages of Isaiah and Jeremiah, where many statements are directed against Babylon and other nations. Therefore, not everything that the law says speaks to those and about those who are under the law. The answer is that whatever it says indeterminately seems to be directed to those to whom the law has been given; but when the Scripture speaks of others it mentions them by name, as when it is written: the burden of Babylon, the burden of Tyre, etc. Furthermore, whatever was said against other nations in the Old Testament was somehow directed to the Jews, inasmuch as ill fortune was foretold for their consolation or fear, just as any preacher should say what pertains to his audience, not what pertains to others: declare to my people their transgressions (Isa 58:1), as if to say: not others' transgressions.
Then when he says that every mouth, he states the intent of the text cited, for Sacred Scripture accuses all of injustice for two reasons. First, to suppress their boasting, by which they considered themselves just, as in Luke: I fast twice a week (Luke 18:12). In regard to this he says, that every mouth may be stopped, which presumptuously ascribes justice to itself: for the mouths of liars will be stopped (Ps 63:11); talk no more so very proudly (1 Sam 2:3). Second, so that recognizing their guilt, they might subject themselves to God as the sick to a physician. Hence he continues: and all the world may be made subject to God, i.e., not only the gentiles but the Jews also, after recognizing their guilt: shall not my soul be subject to God? (Ps 62:1).
Source: Commentary on Romans