The origins of Onam are deeply rooted in Hindu mythology, particularly in the legend of King Mahabali. According to myth, Mahabali was a generous and beloved ruler who brought great prosperity to his kingdom. However, the gods grew concerned over his growing power and influence.