If you want assurance of salvation.. you must perform good deed all your life because Jesus does not want to accept you if you do bad thing or sin.
Reference :
"But he shall say, I tell you, I know you not whence ye are; depart from me, all ye workers of iniquity." (Luke 13:27)
Jesus will accept all if we confess our sins and accept Him totally.
you are right bro