The “fear of the LORD” is called the beginning of wisdom in Proverbs and the whole duty of man in Ecclesiastes.
In Proverbs 9:10:
10 The fear of the LORD is the beginning of wisdom: and the knowledge of the holy is understanding.
In Proverbs 1:7:
7 The fear of the LORD is the beginning of knowledge: but fools despise wisdom and instruction.
13 Let us hear the conclusion of the whole matter: Fear God, and keep his commandments: for this is the whole duty of man.