"be careful what you wish for, lest it come true", which always makes me think of the Tale of the Monkey's Paw (Edgar Allen Poe?).
Monkey's Paw, which is a classic horror story apparently written by W.W. Jacobs,, first appearing in Harpers Monthly in 1902. The story begins with a quotation "Be careful what you wish for, you may receive it"