Definition
This idiom is used to express sarcasm towards someone who claims to be a friend but treats you poorly, implying they are no better than an enemy.
I told her my secret, and she told everyone. With friends like you, who needs enemies?
He promised to help me, but ended up putting me in a worse situation. With friends like you, who needs enemies?
You knew I wanted that job, and you applied for it anyway. With friends like you, who needs enemies?