Which dreams indeed are ambition, for the very substance of the ambitious is merely the shadow of a dream.

– William Shakespeare

Hamlet, Act 2, Scene 2. Guildenstern says that dreams are a mark of ambition, after Hamlet speaks of having bad dreams. Guildenstern and Rosencrantz are testing Hamlet out to get him to confess to his ambition to the throne.