God responds to the prayers of those who truely seek Him, repent of their sins and turn to His way. Those who rebel, ignore God and never change will simply not be heard. Their sin is a barrier and cut them off from God. But a truly repentant attitude moves God to hear us according to Psalms 34:17.
God states, “but on this one will I look on him who is poor and of contrite spirit, and who trembles at my word” Isaiah 66:2. If in humbleness of mind and repentance we draw near to God our father, He will also draw near to us, as seen in James 4:7-8. Miracles of divine intervention will take place. We will receive answers to prayers, because whatever we ask from Him we receive as we keep his commandments and do those things that are pleasing in the sight of our God – 1John 3:22 .
Shalom to you and may you have a blessed evening ahead.