Ecclesiastes 8:1; Ecclesiastes 8:5

1 Who is wise? And who knows the meaning of anything? A person's wisdom brightens the expression; it changes the hardness of someone's face.
5 Whoever keeps a command will meet no harm, and the wise heart knows the right time and the right way