Wisdom's Twofold Obedience
Commentators explain that the 'law' a wise son keeps is twofold. It refers first to God's divine law, which is observed out of love and faith. Secondly, it includes the commands of one's parents. Both forms of obedience are presented as a sign of true wisdom that brings joy to a family, contrasting with the foolishness that brings shame.