Prayer was commonly taught as communicating to God and asking Him for what we need. And more so, many have thought that only prayers from believers, and those who walk righteously were being answered by God. But if that is so, unsaved will have no guarantee that God will listen to them,you have to find Cornelius for that (Acts 10). But in the scriptures, not all prayers by believers were being answered exactly as desired. You can have Paul as example to it . God replies to whomsoever He wills, like unto Cornelius, and this time, in what I wanted to point out, even unto the devils.
The devils prayed for two things (31-32).
Luk 8:30 And Jesus asked him, saying, What is thy name? And he said, Legion: because many devils were entered into him.
Luk 8:31 And they besought him that he would not command them to go out into the deep.
Luk 8:32 And there was there an herd of many swine feeding on the mountain: and they besought him that he would suffer them to enter into them. And he suffered them.
Luk 8:33 Then went the devils out of the man, and entered into the swine: and the herd ran violently down a steep place into the lake, and were choked.
Noticed that what they are asking for were not so simple, but Christ answered them. Christ Who knew everything also knew beforehand that His answer will endanger the herd. But Christ value man’s life more than any possession.
The importance of this observation.
Even if somebody deserves to receive from God, from this passage we will learn that Christ listens to requests from whomsoever it comes from, even from devils. How much more if you seek Him truly with your heart in your prayers (Mat.11:28; Php.4:6-7).