Proverbs 1:7 declares, “The fear of the LORD is the beginning of knowledge.” Until we understand who God is and develop a reverential fear of Him, we cannot have true wisdom. True wisdom comes only from understanding who God is and that He is holy, just, and righteous.
Deuteronomy 10:12, 20-21 records, "And now, O Israel, what does the LORD your God ask of you but to fear the LORD your God, to walk in all his ways, to love him, to serve the LORD your God with all your heart and with all your soul. Fear the LORD your God and serve him. Hold fast to him and take your oaths in his name. He is your praise; he is your God, who performed for you those great and awesome wonders you saw with your own eyes."
The fear of God is the basis for our walking in His ways, serving Him, and, yes, loving Him.