No one starts out loving God. In fact, the Bible teaches that in our natural (unconverted) state we completely at odds with Him (although most people are not aware of this). Therefore, before God can save us we must first be convinced that we are sinners who need saving. We begin to love Him only after we are forgiven of our sins.You are not understanding things correctly.
The keeping of the law, the repentance comes as a natural result of your love for God.
Because you love God, you repent and turn from your evil ways..
When you are filled with the Spirit of God your delight is in obedience to the laws of God.
We obey the law because we are saved by grace and we obey by claiming the promises by faith, and we do this because of what Jesus done for us.
A Love response to God's great Love.
In the Bible, this process is called CONVICTION.
8 And when He (the Holy Spirit) comes, He will CONVICT the world in regard to SIN and RIGHTEOUSNESS and JUDGEMENT:
9 in regard to sin, because they do not believe in Me;…(John 16:8-9)
The word conviction is from the Greek word elégxō [ἐλέγχω]– which means properly, to convince with solid, compelling evidence,
especially to expose or prove WRONG. The same word is used in Matthew 18:15 when we are told to first show an errant brother his FAULT in private before making it known to others.
After we are convinced that we are sinners who cannot save ourselves we must take the radical step of giving the control of our souls to Jesus (personally). We cannot obtain life by following the commandments. As Jesus Himself told the religious people of His time:
39 You study the Scriptures diligently because you think that in them you have eternal life. These are the very Scriptures that testify about me, 40 yet you refuse TO COME TO ME to have life.
(John 5:39-40)
The Savior said the same thing another way: 24 Then Jesus told His disciples, “If ANYONE wants to COME AFTER ME [following Him as sheep follow their Shepherd], he must deny HIMSELF and TAKE UP HIS CROSS and FOLLOW ME . 25 For whoever wants to save his life {his "soul") will lose it, but whoever loses his life for My sake will find it.
(Matthew 16:24-25)