Ecclesiastes 8:5
ESV, NIV, KJV · TruthBound Bible
ESV
Whoever keeps a command will know no evil thing , and the wise heart will know the proper time and the just way .
NIV
Whoever obeys his command will come to no harm, and the wise heart will know the proper time and procedure.
KJV
Whoso keepeth the commandment shall feel no evil thing : and a wise man's heart discerneth both time and judgment.