In regard to the second it should be noted that because there were few in the early Church assigned to preaching faith of Christ throughout the world, the Lord enabled them to proclaim the word to more people by giving them the gift of tongues, by which they could all preach to all. Not that they spoke in one language and were understood by all, as some say, but that they spoke the languages of different nations and, indeed, of all. Hence the Apostle says: "I thank God that I speak in the languages of all of you," and in Ac (2:4) it says: "They began to speak in other tongues, as the Spirit ga...ve them utterance." Furthermore, many received this gift from God in the early church. But the Corinthians, being inquisitive, were more desirous of this gift than the gift of prophecy. Therefore, when the Apostle mentions here about speaking in a tongue, he means an unknown language not interpreted; as when one might speak German to a Frenchman without an interpreter, he is speaking in a tongue. Hence, all speech not understood not explained, no matter what it is, is properly called speaking in a tongue.
Having mentioned these things, let us return to the text, which is clear. In regard to this he does two things: first, he proves that the gift of prophecy is greater than the gift of tongues; secondly, he excludes an objection (v. 5b).
That the gift of prophecy is more excellent than the gift of tongues he proves with two reasons: the first is based on the relationship of God with the Church; the second on the relationship of men with the Church.
The first reason is this: That through which man does things which are not only for the glory of God but for the benefit of his neighbors is better than that which is done only for the glory of God. But prophecy is not only for the honor of God but also useful to our neighbor, whereas by the gift of tongues something is done solely for the honor of God. He presents the middle term of this reasoning: first, inasmuch as he says that one who speaks in a tongue only honors God. And this is what he says: One who speaks in a tongue speaks not to men, i.e., not to the human intellect, but to God, i.e., only to the honor of God. Or to God, because God alone understands: "The zealous ear of God hears all things" (Wis 1:10). That he does not speak to man is indicated when he says: For no one hears him, i.e., understands. For it often happens that not to hear means not to understand: "He who has ears to hear, let him hear" (Matt 13:9). Why he speaks only to God he indicates, when he says that God Himself is speaking; hence he says: But he utters mysteries in the Spirit, i.e., hidden things: "For it is not you who speak, but the Spirit of your Father" (Matt 10:20); "No one understands the thoughts of God except the Spirit of God" (1 Cor 2:11).
Source: Commentary on 1 Corinthians