Whoso keepeth the commandment shall feel no evil thing: and a wise man's heart discerneth both time and judgment.
Shall feel (experience) no evil thing - really and lastingly hurting him. Present trials shall prove everlasting blessings (Romans 8:28).
A wise man's heart discerneth both time (Ecclesiastes 3:1-11 ) and judgment. God's future "judgment" is connected with the "time for every purpose," in Ecclesiastes 3:17. The punishment of persisting or impatient sinners (Ecclesiastes 8:3) suggests it. The wise man realizes the fact, that as there is a fit "time" for every purpose, so for the "judgment." This thought cheers him in adversity (Ecclesiastes 7:14; Ecclesiastes 8:1).