Jesus explains the greatest commandment, what the law is all about. The law is about heart devotion to God. Yet knowing this means you are close to the kingdom of God, but not there yet. To enter the kingdom of God, a person must believe that Jesus is not only a good teacher, but the Christ, the Son of God. It is through repentance and faith in the good news of Jesus Christ that one enters the kingdom (Mark 1:15).
The Great Commandment should point our hearts to God and lead us to the Savior as we fall short of what God requires.