G.T.
1- Loyalty is a commitment to follow someone or something forever in what they are doing/feeling... It is binding yourself to it/him/her.
2- It is never OK to betray your loyalty, but it (often?) happens that one has to choose between 2 loyalties and may "betray" the other. Doing it doesn't mean it is OK. There is a hierarchy in loyalties, different for each individual. Here is mine: my principles, my family, my friends, others (boss, colleagues, country...). In real life, it's very difficult situations.
Some examples:
- when my dad was sick, he specifically asked that he would be informed of everything on his condition. The doctors informed us that he was terminally ill (at most 2 weeks to go) and that knowing it would deeply affect him and possibly made his last days a nightmare. My loyalty goes to my dad over the doctors. My love too. We kept silent. He died 3 days later, serene but "betrayed" by his children and wife.
- a few years ago, I was candidate to be junior editor in a magazine company. My trial" mission was to write an article going against my convictions. I turned the job down. My "boss" called me to tell me that my principles would not feed me. He was right but I knew that I could look at myself in the mirror and never regretted this decision
- I'm leaving here in California, far away from my native France. Every week, when I call her, my grandma asks me why I betrayed my country and moved away
When you have a choice to make, you just need to know what your priorities are.