1 John 2:3-4:
"Now by this we know that we know the Lord, if we keep His commandments. But he who says, “I know Him,” and does not keep His commandments, is a LIAR, and the truth is not in him."
Just because God loves us all, does not mean he is going to be happy with us when we sin. He commanded us not to sin, and using "God loves me, God loves everyone" as an excuse after disobeying his is pathetic.