NET
7 The one who keeps the law is a discerning child, but a companion of gluttons brings shame to his parents.
Darby
7 Whoso observeth the law is a son that hath understanding; but he that is a companion of profligates bringeth shame to his father.
KJV
7 Whoso keepeth the law [is] a wise son: but he that is a companion of riotous [men] shameth his father.