1 Corinthians 2:12 (ESV)

12 Now we have received not the spirit of the world, but the Spirit who is from God, that we might understand the things freely given us by God.

Paul does not stop to explain what he means with the spirit of the world. Perhaps he is referring to Satan, or to human wisdom, or to some kind of spirit that Greek philosophers believed in. What is important is that the apostles have not received this spirit, but the Spirit who is from God.

The Spirit knows all God’s thoughts (1 Corinthians 2:10). But Paul does not claim that the Spirit makes all God’s thoughts known to him and the other apostles. The Spirit makes known specifically those things that are freely given to the apostles by God—the gospel truths which God wants them to understand and proclaim.