And now, Israel, what does the LORD your God require from you, but to fear the LORD your God, to walk in all His ways and love Him, and to serve the LORD your God with all your heart and with all your soul, and to keep the LORD’s commandments and His statutes which I am commanding you today for your good? (Deuteronomy 10:12-13).
Come you children, listen to me; I will teach you the fear of the LORD. Who is the man who desires life, and loves length of days that he may see good? Keep your tongue from evil, and your lips from speaking deceit. Depart from evil, and do good; seek peace, and pursue it. (Psalm 34:11-14).
And to man God said, “Behold, the fear of the Lord, that is wisdom; and to depart from evil is understanding.” (Job 28:28).
Here is the conclusion of the matter: Fear God and keep his commandments, for this is the whole duty of man. For God will bring every deed into judgment. (Ecclesiastes 12:13-14, NIV).
See also Revelation 14:6-7.