When we sin it may be against another person or when we are alone.
But our sins, either way are a sort of rebellion or step away from God Himself
Which breaks His heart not makes Him angry.
His anger was taken out against Jesus on the cross
So when we sin there’s no anger there.
However, If we confess our sins…willingly pour them out before Him
God, because of His merciful nature and the authority of His promises
He’ll forgive our sins, dismissing them
And we’ll be perpetually, constantly cleansed.
His yoke is easy, His burden light.
If we [freely] admit that we have sinned and confess our sins, He is faithful and just (true to His own nature and promises) and will forgive our sins [dismiss our lawlessness] and [continuously] cleanse us from all unrighteousness…(1 John 1:9 AMP)