Then when he says: it is written in the law, he argues to his proposition. Here it should be noted that this argument, as is clear from a Gloss, is distinguished by many things; but according to the Apostle's intent, it does not seem that in this place attention is paid to more than one reason. The argument proving that the gift of prophecy excels the gift of tongues is this: Whatever contributes more to that to which another is principally ordained is better than the latter; but the gift of prophecy and the gift of tongues are both ordained to the conversion of unbelievers, although the gift ...of prophecy contributes more to this than does the gift of tongues. Therefore, prophecy is better.
In regard to this reason he does two things: first, he shows to what the gift of tongues is ordained, and to what the gift of prophecy is ordained; secondly, that the gift of prophecy contributes more (v. 22).
In regard to the first it should be noted that this question: What is written in the law can be taken as an interrogation, as though he were saying: you should not become children in sense but mature, and this is to see and know the Law. Hence, if you are mature in your senses, you should know the Law and what has been written in the Law about tongues, which are useless at times for that to which they are ordained, because although I should speak in various tongues, namely, to the Jewish people, nevertheless man does not hear. It can also be taken in a remissive sense, as if he were saying: Do not be enticed as children to desire something, not discerning whether you are being attracted to good or evil and preferring the good to the better; but be mature in sense, i.e., distinguish between the good and the better, and thus be attracted. And this happens, if you reflect on what has been written in the Law: by men of strange tongues will I speak to this people: "To fix one's thought on her is perfect understanding" (Wis 6:15). He says, in the law, not taking "law" exclusively for the five books of Moses, as it is taken in Lk (24:44): "Everything written about me in the law of Moses must be fulfilled," but for the entire Old Testament, as it is taken in John (15:25): "It is to fulfill the word that is written in their law, 'They hated me without cause,'" which was written in Ps 25 (v. 19). This, therefore, was written: in strange tongues, i.e., in various kinds of tongues, and by the lips of foreigners, i.e., in various idioms and modes of pronunciation, I will speak to this people, namely, the Jews, because this sign was specially given for the conversion of the people of Israel. And even then they will not listen to me, because although they saw the sign, they did not believe: "Blind the heart of this people and make their ears heavy" (Is 6:10).
But why would God give them signs, if they were not to be converted? To this there are two answers: one is that although not all were converted, some were; for God did not reject His people. The other is in order that their damnation appear more just, while their guilt appears more clearly: "If I had not come and spoken to them, they would not have sin" (Jn. 15:22).
Source: Commentary on 1 Corinthians