Ecclesiastes 12:13 in the King James Version
Let us hear the conclusion of the whole matter: Fear God, and keep his commandments: for this is the whole duty of man.
Context
12 Furthermore, my son, be admonished: of making many books there is no end; and much study is a weariness of the flesh.
13 This is the end of the matter. All has been heard. Fear God and keep his commandments; for this is the whole duty of man.
14 For God will bring every work into judgment, with every hidden thing, whether it is good, or whether it is evil.