Yes, in some cases. Spanking in these stories can be seen as a form of discipline. It can teach children about consequences for bad behavior. For example, in traditional fables, a mother figure might spank a naughty child to show that stealing or lying is unacceptable. However, in modern educational thought, many prefer non - physical forms of discipline like time - outs or positive reinforcement.
These stories can have limited value for educational purposes. On one hand, they can show a form of discipline that was common in the past. But on the other hand, they can be disturbing for some children. We should focus more on teaching children through positive interactions. For example, by rewarding good behavior, we can encourage children to repeat it, rather than using spanking as a deterrent which may have negative psychological impacts.