It does not spoil your happiness to confess your sin. The unhappiness is in not making the confession.
Spurgeon, Charles H. “The Complete Works of C. H. Spurgeon, Volume 46: Sermons 2603-2655”, Delmarva Publications, Inc.