Where did the phrase "Be careful what you wish for" come from?

Like i asked, Where did that phrase come from, i've heard it around alot but, dont really get the meaning, considering most wishes dont come true -.-. thx!
6 answers 6