I was looking out my bedroom window about 20 years ago watching my 6 year old daughter being evangelized by a neighborhood girl of similar age. As I watched, my daughter bowed her head and prayed what we were told later was the 'Sinners Prayer". I was elated, not only because she was "saved", but that God had allowed me to witness the moment of her transition to eternal life through Christ! After our daughter told us the details, my wife and I told the pastor and she got baptized. Hugs all around.
When that precious little girl told my daughter about Jesus, she wanted to go to Heaven. She wanted a Savior to get her there. But, my daughter was not willing to change, to repent of her sins, to turn away from this world and learn who God is through His Word, the Bible. There was no change in her life that would indicate she had the Holy Spirit living within her. James 2:14-26 makes the point that, "faith without deeds is dead". Deeds or works do not save anyone. However, once saved, there is a heart change that cannot be hidden and will show up in our outward behavior.