Earlier quoted context omitted.
my understanding of integrity means that you do things that are guided by a shared moral compass - keep your word, avoid cheating, etc. Those signals seem to be all external (you do them because you don't want to violate your contract with another person, etc). I don't think that's in any way related to self-worth (which is a measurement of value to yourself, independent of others)?
It doesnt have to be a shared moral compass, but simply your own. That is to say, you can practice integrity in isolation from other people. A simple mundane example would being going to the gym if you tell yourself you will. A more complex example would be acting in accordance with the values you believe in or not. If you think people that kick dogs are terrible, but you yourself go around kicking dogs, this creates…
However if it is the very cycle itself that increases the effort necessary for breaking out of it, how tied to self-worth is it for different people? When one is the subject and the researcher or the judge, defendant, and prosecutor simultaneously - it can be much more challenging to locate the anchor to which self-worth is tied.