I think you dodged a disaster. You know now how vulnerable you were to developing an eating disorder. You know now how far your eating disorder could take you down a dangerous path.
My hunch is that part of you knew that vulnerability even when you were ten and took you away from harm's way.
No matter what we go through, it could always have been worse. You drew a line when you were ten and went for other activities you cared about.
I think you took the healthy choice, and probably the choice that put more fun in your life.
Health, joy and fun go together. :)
I salute the ten year old you were.