It is important for us to understand that God loves us unconditionally. He does not love us because of our goodness, righteousness or purity but He loves us when we are messy, rebellious and disobedient. In other words, God does not love us according to our perfections but He loves us in the midst of our imperfections. Just like any good parent, who loves their child in good times and bad times, our Heavenly Father loves us at all times.