We use this expression to respond to something in a playful, ironic, or slightly teasing way. It usually means that what the other person has just said is not true, very unlikely, or simply wishful thinking.
You can use this phrase in ………… language.
Spoken
Written
Inormal
Example 1
A: I’m obviously the funniest person in this group.
B: You wish.
Example 2
A: Come on, you know everyone was looking at me.
B: You wish.