It means that no matter the circumstances, trials, or tribulations and also whether other people switch up, your allegiance to the person or thing will never change. You will always be devoted to them. And your respect will always remain.
Even though he went behind her back and betrayed her, it didn't change the fact that her loyalty still remained for the sake of their friendship... She is a person of integrity.