[RPG] In terms of RAW what stops a wish manipulating the deck of many things

dnd-5emagic-items

In terms of RAW what should happen if a player with the deck of many things drew the wish card or cast wish, and then wished to only ever draw specific cards from the deck, or to the only ever draw the good cards?

Best Answer

From the text of Wish (emphasis mine)

You might be able to achieve something beyond the scope of the above examples. State your wish to the DM as precisely as possible. The DM has great latitude in ruling what occurs in such an instance; the greater the wish, the greater the likelihood that something goes wrong. This spell might simply fail, the effect you desire might only be partly achieved, or you might suffer some unforeseen consequence as a result of how you worded the wish.

Best case scenario is that the GM will simply rule that the wish fails. Worst case scenario, the GM is feeling creative.