You might find this short writing on detaching helpful:
"Detachment means we care, about ourselves and others. It frees us to make the best possible decisions. It enables us to set the boundaries we need to set with people. It allows us to have our feelings, to stop reacting and initiate a positive course of action. It encourages others to do the same". https://melodybeattie.com/detaching-in-relationships/