The thief on the cross was a condemned sinner.
He never taught a sunday school class, nor did he ever do any kind of good works. He was a thief.
All that he said to Jesus was... "Remember me when you come into your Kingdom".
Nothing was said about him being sorry for his sins.
Our works are to do what Jesus says. Jesus says fear God, humble yourself, repent, forgive, and call on him.
Those are works. They are light, easy, and not burdensome.
You cannot be saved unless you believe and obey Jesus.
One of the criminals who hung there hurled insults at him: “Aren’t you the Christ? Save yourself and us!” Luke 23:39. But the other criminal rebuked him.
“Don’t you fear God,” he said,
God accepts those who FEAR HIM.
See Acts 10:35.
“since you are under the same sentence?
We are punished justly, for we are getting what our deeds deserve.
The thief HUMBLED HIMSELF AND WAS SORRY FOR HIS. We have to humble ourselves to be saved.
Matthew 18:3 And he said: "Truly I tell you, unless you change and become like little children,
you will never enter the kingdom of heaven.
But this man has done nothing wrong.”
The thief acknowledged Jesus before others.
Luke 12:8 "I tell you, whoever publicly acknowledges me before others, the Son of Man will also acknowledge before the angels of God.
Then he said, “Jesus, remember me when you come into your kingdom.”
Acts 2:21 And everyone who calls on the name of the Lord will be saved.'
Luke 23:40-43. Jesus answered him, “I tell you the truth, today you will be with me in paradise.”