From Stop Asking Jesus into Your Heart by J.D. Greear (p. 59):
We must be particularly careful to clarify confession and repentance, because confession can feel purifying. Many people are looking for exoneration, be that from a friend, a spouse, a counselor, a pastor, or Jesus. They just want someone to tell them they're "OK." Biblical repentance, however, is not merely a request for exoneration; it is a change of heart about our sin. Even confession of our sin to Jesus, soaked with tears, but apart from a change of attitude toward our sin, will not bring about eternal life. Confession is part of the repentance process, but not the sum total of it.