Matthew 6:8 tells us that God knows our needs before we even pray but He still tells us to pray. The Bible also tells us in 1 John 5:14,15 that if we pray according to God’s will, He hears us and answers us (see also Prov 15:29). However, when we have been
praying and believing God for something for months and even years with no physical manifestation, we could be tempted to get discouraged. The devil may be whispering in your ear that it is not working, but Jesus tells us in in Luke 18:1 (AMP) “to pray and not give up and lose heart.” He goes on to tell the story of the desperate widow and the unjust judge who finally gave her justice. Jesus, however is NOT unjust, He is just and not only that but the unjust judge responded out of aggravation, whereas Jesus responds to us in love. As Luke 18:7 says, “will not (our just) God defend and avenge His elect (His chosen ones) who cry out to Him day and night?” (AMP).
I encourage you to keep praying, no matter how long it is taking for the answer to manifest (see also Matt 7:7 and 1 Thess 5:17), but pray in faith. Mark tells us that, “whatever you ask in prayer, believe that you have received it, and it will be yours” (Mk 11:24; ESV). So, believe you have the answer when you first pray (not when you can see it physically) and keep thanking God for the victory. Don’t let the devil discourage you with his lies, keep speaking the promises in God’s word that your prayer is based on in faith!