Whoever keeps the teaching is a son with understanding, but a companion of gluttons shames his father.
In context
5Evil men do not understand justice, but those who seek Yahweh understand everything. 6Better a poor man who walks in his integrity than a man of crooked ways, though he is rich. 7Whoever keeps the teaching is a son with understanding, but a companion of gluttons shames his father. 8Whoever multiplies his wealth by interest and gain gathers it for one who is kind to the poor. 9Whoever turns his ear from hearing the teaching—even his prayer is an abomination.