Satan is a created being (Ezekiel 28:12–17) and, like all created beings, has limits to his knowledge. Indeed, only God is omniscient (1 Kings 8:39). Scripture shows that Satan must search for someone to tempt (Job 1–2; 1 Peter 5:8) and that he isn’t certain what will happen. For example, his attempt to tempt Jesus indicates that he did not know for sure whether Jesus had a weakness (Matthew 4:1–11).
Angels in general, of which Satan is one, don’t know the timing of the end (Mark 13:32), nor did they understand how God was going to save humanity (1 Peter 1:10–12). Indeed, 1 Corinthians 2:8 implies that if Satan had known that crucifixion would bring salvation, he would not have been a party to that.
Even so, Satan is a cunning adversary (Genesis 3:1; 2 Corinthians 11:3), one we must stand on guard against (Ephesians 6:11). But while he is powerful and strategic, he is not omniscient.
The spiritual realm can fascinate us, particularly when it comes to demons and Satan. However, while it is a real realm, we are not called to fear it. Satan is simply another creature. Like all creatures, he is limited in power and abilities. Scripture doesn't indicate that he knows what you are thinking or planning to do. Because he’s limited, it’s also likely that his knowledge of world events is not happening in “real time.”
But Satan is not an idiot. He has been observing humans for thousands of years. He knows how to manipulate us as if he can read our minds. When he tempts us with our greatest weakness, it isn't because he can read our minds; it's because he has observed common temptations of humankind over the centuries and has observed us, too. He doesn't play fair. He will use every trick in the book to deceive people. Believers should treat him as he is: a cunning adversary who wants to see us dead (John 8:44; 1 Peter 5:8).
Despite his ferociousness, Scripture gives us all we need to overcome him. It doesn’t teach us to engage him (or any demon) in spiritual warfare but tells us to put on the armor of God (Ephesians 6:11). That is, we are to stand firm against his attacks by holding fast to Scripture. Just as Jesus withstood Satan's attacks by showing him he was wrong through Scripture, so also should we steep ourselves in Scripture. Then, whenever a temptation presents itself, we are ready to defend against it. We are not to fear Satan but trust that God is keeping him on a leash till his final judgment and that He is protecting us (Job 1:12).