The phrase "A horse! A horse! My kingdom for a horse!" is an example of hyperbole, which is a figure of speech that uses exaggeration to create emphasis or humor. In this case, the speaker is expressing his extreme desire for a horse by saying that he would give up his entire kingdom in exchange for one. This is an exaggeration, of course, but it helps to convey the speaker's sense of desperation.