That's entirely missing the point though. It doesn't matter what the fictional Federation and the history leading up to it did. That's the beside the point of the episode. So what if Pike said that Earth and the Federation abolished all forms of child suffering? That has no bearing on anything of importance.2) At the end when Alora asks Pike if he can honestly say that Federation society does not require the suffering of a child growing up in poverty or despair to function, Pike should have said, "Of course not! We abolished poverty and classism long before we even founded the Federation!"
It's a rhetorical question for the audience to get them thinking about the real world. Any answer, particularly about a fictional society, just short circuits that process. The episode doesn't want viewers pondering how the Federation handles it. If you're upset about a single child being harmed in a TV show, damn, you've got a lot of things to be pissed off about right now in the real world!