Ecclesiastes 12:13

13 The end of the matter; all has been heard. a Fear God and keep his commandments, for this is the whole duty of man.
Or the duty of all mankind
Copyright information for ESV