Well, this is a very broad question. I can only say epics do not happen because they have to happen. Great sages from ancient times written those great works to mention commingcoming generations about how they need to lead life and what happened to various people who obeyed or disobeyed god and dharma.These These epics are serving the sole purpose of enlighting the generations. Kaliyuga is the last part of the Mahayuga (which contains kruthayuga, threthayuga, dwaparayuga, kaliyuga) and after kaliyuga the clock resets to kruthayuga where these dharmas are no longer valid and have more stricter rules. Anlayzing
Anlayzing those epics what scholorsscholars conclude is in kruthayuga the god and bad are seperatedseparated by planets. Gods recided in urdhva lokas and demons in adho lokas, and when everwhenever there are problems, god took incarnation of some form and killed those demons. In threthayuga, good and bad were in the same world and seperatedseparated by kingdamskingdoms (Rama and Ravana). God just not changed his form, but rather took birth, and he not only he killed ravana but also shownshowed the world how one should lead life to attain higher world and ultimately moksha. In dwaparayuga, good and bad were in the same family (Kauravas and Pandavas), then god motivated good people, corrected them, and made them kill the bad ones. He did not do it by himself. In
In kaliyuga good and bad are in the same person, no one is perfectly good or bad. So in kaliyuga people do not change much by teachings or preachings or even model living, and people tend to become more bad as the kaliyuga progressprogresses. Hence the only way to correct is by creating maha pralaya (destruction as kalki).