Ecclesiastes 8:5

English Standard Version

5 Whoever keeps a command will know no evil thing, and the wise heart will know the proper time and the just way.[1]

New International Version

5 Whoever obeys his command will come to no harm, and the wise heart will know the proper time and procedure.

New International Reader’s Version

5 No one who obeys his command will be harmed. Those who are wise will know the proper time and way to approach him.

King James Version

5 Whoso keepeth the commandment shall feel no evil thing: and a wise man' heart discerneth both time and judgment.