The moral Lesson in the story Centipede, is to love your own family member. And don't let your anger consume you.
The moral of The Centipede is often described as "Do not do to others what others can do to you." This moral is fairly common in folktales like this one.
do not do to others what others do to you