I got curious thinking about this. Is there any phrase that conveys the same idea/feeling as the English phrase "says the guy who [...]!"
For example:
"You should stop watching TV all day."
"Says the guy who only plays video games!"
In this exchange, the strong implication is that person B is being hypocritical. He advises person A to quit watching TV, while he himself spends all day playing video games. Not that the phrase is always used to describe someone being hypocritical, but it's usually used to point out that the person making the complaint/remark is equally ridiculous/at fault for something themselves. If anything, I think of the phrase as pointing out how the other person is being contradictory in some manner. E.g:
"I know all the best pick-up lines to get a girlfriend."
"Says the guy who's been single his whole life..."
Anyhow, that all said, how would one go about constructing a similar phrase in Japanese? Obviously there would be no exact replica, but is there a word/phrase that shares a similar idea of mocking what a person says on the basis of it being hypocritical/contradictory? The best I can think of is なんて言ってるんだ?But that doesn't really carry the same emotion nor does it really mean the same thing.