Firstly, your real friend can never have closer ties with the ones who wronged you publicly or in whatever way they did you wrong, and if they really do have good ties with such people, then you really need to check if that person is really your friend or a snake. So if my friend is friends with someone I hate, probably the ones who did me wrong, I will definitely distance myself from such individuals.