We know that God does not listen to sinners [i.e., when they pray]; but God does listen to the person who reveres Him and does what He wants.
[When] you do ask, you do not receive it, because you ask from wrong motives, [just] so you can satisfy your own pleasures.