Good Morning.
A.W. Tozer wrote years ago that personal holiness is a vital in order for God to answer our prayers.  Of course, we also must must be sure to pray in God’s will.  It never hurts to get a words from Tozer every once in a while. 

“When we go to God with a request that He modify the existing situation for us, that is, that He answer prayer, there are two conditions that we must meet: (1) We must pray in the will of God and (2) we must be on what old-fashioned Christians often call “praying ground”; that is, we must be living lives pleasing to God.

It is futile to beg God to act contrary to His revealed purposes. To pray with confidence the petitioner must be certain that his request falls within the broad will of God for His people.

The second condition is also vitally important. God has not placed Himself under obligation to honor the requests of worldly, carnal or disobedient Christians. He hears and answers the prayers only of those who walk in His way
.
‘Beloved, if our heart condemn us not, then have we confidence toward God. And whatsoever we ask, we receive of him, because we keep his commandments, and do those things that are pleasing in his sight . . . . If ye abide in me, and my words abide in you, ye shall ask what ye will, and it shall be done unto you’ (I John 3:21, 22; John 15:7).”