The short answer to this is yes. But God is not a petulant God. As one pastor put it, "If God is angry at my unconfessed sin, as well as at the sin of the whole world, He must be in a perpetual snit—clearly an inaccurate picture of His character." He adds, "It might be more precise to say that God is angry at rebellious sin, at the refusal to do right when we know better." In the Old Testament, God was angry with the children of Israel to the point that only a few of them entered the Promised Land. To cite a few examples, God was angry with Moses for failing to circumcise his sons (Ex. 4:24–26) and at David for conducting a census (2 Samuel 24). In Hebrews 10:26–31, a number of warnings are given to Christians whose commitment to the faith is wavering. This passage speaks of the consequences of deliberately remaining in sin by using terms like "judgment," "fury," "consume," and "punishment."
Still, God forgives us not on the basis of our repentance but rather on the basis of His Son’s pure character and substitutionary atonement. God knew about our behavior and our repeated sin and still sent His Son to die for these sins. We are also kept by this reality. As 1 John 2:1 says, "If anybody does sin, we have an advocate with the Father—Jesus Christ, the Righteous One." We must, however, come to terms with
we repeatedly sin. Pastor Tim Keller says we do this because we don’t repent deeply enough; we don’t get to the "attitude beneath the sin." Such incomplete repentance is what he calls "insincere," an insincerity that can lead to rebellion. As 1 John 1:6 says plainly, "If we claim to have fellowship with him yet walk in the darkness, we lie and do not live out the truth." With sincere confession, however, "he is faithful and just and will forgive us our sins and purify us from all unrighteousness" (1 John 1:9).