Being obedient shows God you love Him.
Read: 1 John 5:3-4
Loving God means keeping his commandments, and his commandments are not burdensome. 4 For every child of God defeats this evil world, and we achieve this victory through our faith. 5 And who can win this battle against the world? Only those who believe that Jesus is the Son of God.