Ecclesiastes 8:3 Philosophy

אַל־תִּבָּהֵ֤ל מִפָּנָיו֙ תֵּלֵ֔ךְ אַֽל־תַּעֲמֹ֖ד בְּדָבָ֣ר רָ֑ע כִּ֛י כָּל־אֲשֶׁ֥ר יַחְפֹּ֖ץ יַעֲשֶֽׂה׃

Be not hasty to go out of his presence; stand not in an evil thing; for he doeth whatsoever pleaseth him.

Read Jewish philosophical commentary on Ecclesiastes 8:3: and classical philosophical sources.