In Sophocles' Oedipus Rex, the protagonist publicly curses the unknown murderer of King Laius, vowing exile and suffering—not knowing he is cursing himself. This is the textbook definition of dramatic irony: the audience possesses knowledge the character lacks.
The moment heightens the tragedy in several ways:
When the truth finally emerges, the curse returns upon him with devastating completeness, completing the tragic arc. Few moments in theater so perfectly encapsulate the genre's core tension between knowledge and ignorance, agency and destiny.