My dad used to quote that verse. He did a few good deeds and was convinced that it guaranteed his salvation. Despite the fact that there was nothing godly about him. I don't know anybody who knew the Bible better and did less with it than him.
So we need to examine ourselves and make sure we're in the faith before we think that verse can apply to us.
I understand