Scripture gives little insight into Satan’s thoughts. However, because he quotes Scripture (Matthew 4:6) and knows what God said (Genesis 3:1–5), we can infer he also knows what Scripture says about his fate, being thrown into the lake of fire (Revelation 20:10). Additionally, some interpret Revelation 12:12 as referring to Satan’s fall or after the cross. That verse says that Satan "knows that his time is short." Even if that passage refers to the future Tribulation period, the verse indicates that Satan already realizes his time is coming to an end, which enrages him.
Despite knowledge of his future, Satan still attempts to overthrow God’s kingdom (Isaiah 14:13–14; 2 Thessalonians 2:9–10; Matthew 4:8–9; Revelation 13). Sin blinds, so he may believe a way to escape exists. Thus, he may simultaneously know what God says will happen while also being self-deceived that it won’t. What God says about Satan’s fate will come to pass.
From the very beginning, starting in Genesis 3:15, Satan’s days have been numbered. Yet, right now, he has been given a level of freedom to inflict destruction and to keep unbelievers from believing in Jesus (2 Corinthians 4:4). Yet even his mayhem is restrained by God (Job 1:12). Martin Luther once commented that Satan is “God’s devil.” By that, he meant that Satan is powerful and evil but that he can’t do anything unless God allows him.
This should be a comfort for us. Jesus once told Peter that Satan had asked to sift him (Luke 22:31). Though God permitted him, it was limited such that Jesus could promise Peter that he would not be lost forever (Luke 22:32). Likewise, Satan is looking to destroy us (1 Peter 5:8), he will not ultimately overcome because Jesus loses none the Father has given Him (John 6:39).
That said, we must not give Satan any opportunities (Ephesians 4:27). We need to put on the armor of God so we can stand against his attacks (Ephesians 6:11) and resist him (James 4:7). We are not called to fight him, but we are also not told to pretend like he doesn’t exist.
Whether or not Satan knows his fate, we do: he will be bound (Revelation 20:2–3) and then, after a period of time, cast into the lake of fire (Revelation 20:10). That will be a joyous time!