Ecclesiastes 8:5

King James Version Bible (KJV)
Whoso keepeth the commandment shall feel no evil thing: and a wise man's heart discerneth both time and judgment.

Read Ecclesiastes 8:5 in other translations