The correct option would be the second one: they taught correct and acceptable behavior.
Epic Hindu literature was created to illustrate the most important features of the Hindu gods.They were poetic stories.The main objective of these stories was to give people principles,values and moral beliefs to pursue.
Two of the most well-known stories of this kind were "Ramayana" and "Mahabharata."