How do you realize your self worth if

If everyone you have ever loved has made you feel like shit? Like you aren’t worthy of being treated great? Like maybe I’m not that great of a person, maybe I don’t deserve better, if everyone eventually treats me all the same...