Vidui is needed, but the Rambam writes that confession without leaving the sin is like immersing with a sheretz in one’s hand. As the Dubner Maggid’s mashal of the sack of flour warns that a blow to the heart which only eases the conscience can make room for more sins.