The Bible is very clear about the forgiveness of sins. “If we confess our sins, He is faithful and righteous to forgive us our sins and to cleanse us from all unrighteousness” (1 Jn. 1: 9). David himself has experienced the joy of forgiveness, as told in his psalm: “I acknowledge my sin to you, and I did not cover my iniquity; I said, “I will confess my transgressions to the Lord” and you forgave the iniquity of my sin. ” (Ps. 32: 5).
The Lord forgave David’s sin, but his life and reign were effected. Despite the forgiveness of sins, David had to reap the consequences of his sin; but we must distinguish between the temporal and the eternal consequences of sin.