Come now, let us reason together, says YHWH: though your sins are like scarlet, they shall be as white as snow; though they are red like crimson, they shall become like wool. If you are willing and obedient, you shall eat the good of the land, but if you refuse and rebel, you shall be eaten by the sword; for the mouth of YHWH has spoken.
Isaiah 1:19-20
Nobody's perfect. We all make mistakes and we all rebel at times. Fortunately, we serve a forgiving God who wants us to repent so that he can reward our obedience.