What you are talking about sounds like Easy Believism and is not scriptural because of Matt 7:23 and Gal 5:19-21 refute this. I've seen some of the other posts you've made and I'd caution you to read Gal 5:19-21 very carefully, and also Matt 5:28. I struggle with these issues in my faith-walk as well, so do many others (ie "lusting").
Cornelius - Acts 10:31 - His Alms (good deeds towards the poor), and prayers have been heard -- this is before he was saved. It may not have affected his direct salvation, but it was part of the journey leading to his salvation (ie Peter ministering to him). To the extent his Alms and prayers influenced God to send Peter his way to minister to him leading him to salvation, would be the extent that would be relevant enough to be mentioned in scripture. At least the idea here is that good people do not go to hell because God will notice them and send someone their way to minister salvation to them, and they will be saved. However, insincere people who say a sinner's prayer, or are looking for fire-insurance but want to live as they please and have one foot in the church and one foot in the world, have to beware. God looks at the heart. An example of an insincere conversion would be Simon the Sorcerer in Acts 8:17-24.
You must include verse 21 in Matthew 7
“Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth
the will of my Father which is in heaven.
What is “the will of the Father”? The answer is found in John 6:40..
“And
this is the will of him that sent me, that every one which seeth the Son, and believeth on him, may have everlasting life: and I will raise him up at the last day.”
The group in Matthew 7:21-23 were unsaved because they
refused to do God's will concerning salvation. It wasn't because they still had personal sins in their life. Every believer still has sin in their life! We all sin every day. That's not to say that we have God's approval to sin, God forbid (Romans 3:31). It just means that even the best of Christians are still sinners.
If you think that forsaking sins was necessary for you to be saved, then you have religion, but you have never been born again!