Both Jimmy Valentine and Ben Price take a turn for the better. Jimmy decides to stop robbing banks and "go straight" after years of burglary and petty theft. Then he even puts his own future in jeopardy by using his burglar's tools to pry open a time-set safe in which a little girl is trapped. The little girl does not suffocate, but Jimmy is "found out" and awaits being picked up by Ben Price, a bounty hunter hot on his heels.
Then it is Ben Price's turn to show his better self. Instead of taking Jimmy in to the police station and cashing in on his reward, he pretends as if he doesn't even recognize him and saunters on down the street. He realizes that Jimmy is indeed another man and gives him the chance to get on with his life. In such a way he too is "reformed" in that for once money is not his number one priority.
'Ralph Spencer' is the identity Jimmy has assumed ever since he came to Elmore. Since Spencer and Valentine are one and the same man, of course "they" share similar traits. 'Spencer' has made a great impression on the banker and even courts and wins his daughter, displaying great charm and "social skills." He is still a great manipulator, and still reverts to ruse and lying when the pressure is on (His burglary toolbox, he explains, is full of shoehorns for his shoe store.). But as things turn out, by the end of the story Valentine's alias identity is no longer sham but the real thing.
As O. Henry "did time" too for fraud and embezzlement (and got caught later when he returned to the country to visit his ailing wife), perhaps this story of the second chance is his way of showing that people can indeed change and should not be condemned to a "life sentence" of bad reputation if indeed they have learned from past mistakes.