James 4:3; "Ye ask, and receive not, because ye ask amiss, that ye may consume it upon your lusts".
God will not answer prayers of those who are selfish, ambitious, love pleasure, desire honor, power, or riches. Is your heart filled with selfish desires?
Psalm 34:15; "The eyes of the Lord are upon the righteous, and his ears are open unto their cry". The eyes of the Lord are watching all of us who live a good life. The Lord gives notice to them when they cry out. We can not live a life leaning toward worldly things and expect Him to answer our prayers. Living a good life means to live in a manner that is pleasing to God.
We need to keep our eyes on the Lord and our way of life a pleasing one to the Lord.
May you always know the love, joy, and peace of the Lord!