Hamartia is the tragic flaw or error in judgment that causes the downfall of a tragic hero in literature, a core element of Greek tragedy.