 Then the next night I also made sure that we read the end of Ecclesiastes, which says, Now all has been heard. Here is the conclusion of the matter. Fear God and keep his commandments, for this is the whole duty of man. Not all of Solomon's life was sad. When he learned to fear, love, and trust in God, then he knew that he could keep God's commandments and trust God to take care of the rest.