The bible tells you to confess your sins:
Rom 10:9 That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved.
Rom 10:10 For with the heart man believeth unto righteousness; and with the mouth confession is made unto salvation.
John 12:46 I am come a light into the world, that whosoever believeth on me should not abide in darkness.
John 12:47 And if any man hear my words, and believe not, I judge him not: for I came not to judge the world, but to save the world.
John 12:48 He that rejecteth me, and receiveth not my words, hath one that judgeth him: the word that I have spoken, the same shall judge him in the last day.
Rom 14:11 For it is written, As I live, saith the Lord, every knee shall bow to me, and every tongue shall confess to God.
Rom 14:12 So then every one of us shall give account of himself to God.