dramatic irony

Noun
  1. (theater) irony that occurs when the meaning of the situation is understood by the audience but not by the characters in the play
dramatic irony
The audience watches the play, aware of the dramatic irony that the hero does not see.