Berean Standard Bible
Proverbs 28:9
“Whoever turns his ear away from hearing the law, even his prayer is detestable.”

In context
7A discerning son keeps the law, but a companion of gluttons disgraces his father.
8He who increases his wealth by interest and usury lays it up for one who is kind to the poor.
9Whoever turns his ear away from hearing the law, even his prayer is detestable.
11A rich man is wise in his own eyes, but a poor man with discernment sees through him.
Popular verses
Berean Standard Bible · A modern, readable English translation. Public domain (CC0).