The book was never written for children, it was a satirist writing for adults under the guise of a children's book, just as it wrote under the guise of "travel guides". Even at the time, this work was considered weird and not in line with the morality of children's literature.
But even if you accept that children's lives back then were particularly brutal and this was in fact meant as a children's book: there is no evidence to suggest that exposing children to brutality in books will somehow help them function in a brutal world. If anything, I would think that such children especially need something "beautiful" in their lives: the fairy who comes with good advice, the dragon slain in the end, the lost child who finds their way home. A bit of hope.
But even if you accept that children's lives back then were particularly brutal and this was in fact meant as a children's book: there is no evidence to suggest that exposing children to brutality in books will somehow help them function in a brutal world. If anything, I would think that such children especially need something "beautiful" in their lives: the fairy who comes with good advice, the dragon slain in the end, the lost child who finds their way home. A bit of hope.
But I'm not a pedagogue, just a dad.