The past is finished. What happen has happened...now is the time to start that better future.
Weight loss is a journey and on that journey we learn many things about ourselves and life in general. Learn the lessons from the past but don't carry the guilt of failure. They are truly failures *ONLY* if we fail to learn from them. If we learn from them - then it only makes us stronger!
Best wishes on your journey to a better future.