Ecclesiastes 8:1; Ecclesiastes 8:5

1 Who is like the wise person, and who knows the interpretation of a matter? A man's wisdom brightens his face, and the sternness of his face is changed.
5 The one who keeps a command will not experience anything harmful, and a wise heart knows the right time and procedure.