Proverbs‬ ‭28:9‬ ‭ESV‬‬

If one turns away his ear from hearing the law, even his prayer is an abomination.

Proverbs 28:9 ESV