This quote is saying that if someone only sees you for your past mistakes, and won’t recognize that you have changed and grown since then, then it is best for them to leave your life. It is important that the people in your life are able to see you as a different, better person than the one who made the mistakes, otherwise they should not be a part of your life.