Comparing the two men as kings in the two tragedies, it's clear that both Oedipus and Creon suffer from too much pride. However, the basis for their pride and the results of it differ.
Oedipus is determined to avoid fulfilling the famous prophecy regarding his fate; therefore, we can see his pride in believing himself greater than the gods themselves who have decreed this fate. On the other hand, as king of Thebes, he also sees himself responsible for saving his city from the plague, and he perseveres until the unfortunate, awful truth unfolds. Pride leads him right into the fate he thought he could avoid; thus, he learns man cannot disregard the power of the gods. As king, though, he does nothing consciously to harm his people.
Creon's role as king begins with a cruel edict forbidding the burial of Polyneices; his action defies Greek custom and obedience to the gods. This deliberate act and his stubborn refusal to rescind his order to let Antigone die eventually lead to the deaths of his niece, son, and wife. Creon is a selfish king whose excessive pride does damage others. He, too, learns a harsh lesson to submit to the wisdom of the gods.