means that
a person with a troubled or morally questionable past may undergo a profound transformation and become especially devoted to a better way of life.
Imagine a case where if a bad person becomes good, a very bad person will become very good.; then “The greater the sinner, the greater the saint” fits well.