Christians should take encouragement that although sin has consequences, by His grace, God still blesses and restores those who are His.
Though the sin of a Christian can be utterly great in its depravity, the grace of God is even greater still; therefore, confess your sin and rest in grace.
We can cover our sin to look good before others, but it only offends God further; therefore, repent from sin and seek the Lord's forgiveness.