Whether intentionally or unintentionally, Shakespeare wrote this tragedy counter to the prevailing ideologies of his time, and even to those of the present day in some senses. The allegory for mental illness found in King Lear captures the truth that all face suffering, good or bad, and that sometimes there is no rhyme or reason to the universe.