The repetition of these phrases is to show that the lessons are valuable for all sorts of things. It also speaks of those lessons as if they were people. (See: [[rc://en/ta/man/translate/figs-parallelism]] and [[rc://en/ta/man/translate/figs-personification]])