Welcome to the Forum :)
I think you have hit a really key point on the head here and that is that self harm does "give" you something; it gives you that relief. Can you think of anything else that you could do when you feel like self harming that could give you that same (or similar) sense of relief?
I think it's good that you can recognise the reasons why you don't want to self harm and the consequences; that is important so please keep those in mind, the consequences are there forever often (with the scars) where the release isn't long lived and can sometimes be bought on by something else.
For some suggestions on things you can do instead of self harming that might help reduce (instead of simply distract) the urge, please have
a look here.
All the best,
Aimee