“he does not answer.” God does not hear prayers simply because people pray. Everyone sins, but some people are prideful and unrepentant about their sin, and God will not listen to the prayers of those people. It is the prayer of a righteous person that accomplishes much (James 5:16).
[For more information about the sacrifices and prayers of wicked people being of no value, see commentary on Amos 5:22.]