In Greek myth Oedipus was the king of Thebes who did his best to avoid a prophecy saying he would kill his father and marry his mother. Like most good tales about knowing the future, Oedipus inadvertently fulfills the prophecy by trying to avoid it.
We see this a lot in sci-fi with time-loop stories. The protagonist does everything possible to avoid a bad outcome but in doing so becomes part of the thread leading to that unwanted outcome.
A lot of people know about Oedipus but the old Greek tale…
UIW Theatre – Antigone (uiw.uloop.com)
Graham and Freud (bibliolore.org)
An Oedipus Retelling (rogueclassicism.com)
Secret vault discovered underneath Amphipolis tomb (dailymail.co.uk)
Oedipus Simplex (psychologytoday.com)
Greek-American Filmmaker Screens Documentary at Boston University (usa.greekreporter.com)