Ecclesiastes 8:5

5 Whoso keepeth the commandment shall know no evil thing; and a wise man's heart discerneth time and judgment: