To destroy Oedipus, the gods granted the power of prophecy to oracles that delivered these prophecies to Laius and Jocasta. As a result, they kill their child to get rid of him and his terrible prophecies. Unfortunately, these prophecies came true because Oedipus didn't know his real parents. If he had known his real parents, he wouldn't have killed his father and married his mother. .
"I would never have become my father's killer, never have been known to all men as my own mother's husband. Now I am godforsaken, the son of an accursed marriage, my own father's successor in the marriage bed. If there is any evil worse than the worst that a man can suffer "Oedipus has drawn it for his lot."" (p. 98).
Oedipus is ashamed of himself and unsatisfied with his situation, even though it is not his fault. The gods wouldn't have made the prophecies come true without the help of the oracle, which delivered the prophecies to Oedipus' parents. It is obvious that the gods were planning to this fate before Oedipus' birth, because through the oracle, they announced the two prophecies while Jocasta was pregnant. Above that, the gods didn't mention Oedipus' blindness in their prophecies; but instead, they mentioned only Oedipus' shameful crimes that involved both the father and the mother. The purpose of this was to make both parents agree to kill their child, for Laius didn't want to be murdered by his son, and Jocasta didn't want to marry her son. This fear of terrible destiny led the parents to kill their child. On the other hand, if Laius and Jocasta hadn't known about the prophecies, they would've kept the child, and thus he would know his parents, which makes it impossible for the prophecies to come true. .
One major aspect that caused the destruction of Oedipus and his family is Apollo's oracle at Delphi. When Apollo's oracle told Oedipus about the two prophecies, Oedipus tried to avoid them by moving to another city, and walked to meet his fate in Thebes.