> [...] dir selber leid zu tun

Comes from *sich selbst leid tun* which is referring to **Selbstmitleid** (self-pity).  
Your sentence means: 

> Could you please stop feeling sorry for yourself?

*Leid* can have different meanings depending on the context. In your case it rather refers to pity than to harm or suffering.