But they could say: O Apostle, how am I to know that these are commands of God? I am unable to know this. The Apostle excludes this, saying: This is of no value to you, because you should not be ignorant. Why? Because anyone who does not recognize this, he is not recognized: "Amen, I say to you: I know you not" (Matt 25:12), from which it is clear that all are bound to know the things necessary for salvation, which he previously commanded, as well as the apostles and prophets. Or in another way: if anyone thinks he is a prophet, as confirmation of the preceding. As if to say: So I write; but y...ou cannot recognize them on account of their difficulty and because you are simple; but in order that you may know that the things I write are just and honest, I wish to adduce the testimony of prophets and spiritual men, who live among you. And therefore he says: If anyone thinks that he is a prophet: "The spiritual man judges all things" (1 Cor 2:15). And lest anyone should say: we are not instructed in knowing such things, he adds that they are bound to know, because anyone who does not recognize this will not be recognized: "My people go into exile for want of knowledge" (Is 5:13); "They have neither knowledge nor understanding; they walk in darkness" (Ps 82:5).
Source: Commentary on 1 Corinthians