I realize that I was not doing the truth when I came to Jesus that's why I'm having a problem with this question is it a fact that I realized that I wanted to do right and confess my sins and that's why God save me.
John 3:21
ESV - 21 But whoever does what is true comes to the light, so that it may be clearly seen that his works have been carried out in God.
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.