Quite a lot of Greek myths, when not stripped down to the "simplified for story-telling to kids" versions, are straight-up case studies / moral lessons to adults.
I'd never look at the Odyssey and mistake it as something to emulate. That people do is kind of surprising.