Proverbs 28:9

One who turns away his ear from hearing the law, Even his prayer is an abomination.

Surrounding context

28:8 One who increases his possessions by usury and extortion Gathers it for him who will pity the poor.

28:9 One who turns away his ear from hearing the law, Even his prayer is an abomination.

28:10 Whoever causes the upright to go astray in an evil way, He himself will fall into his own pit; But the blameless will inherit good.

Translation and sources