Betrayal is a horrible thing to experience, but it can be very useful in fiction- as long as you don't also betray your audience by not properly bracketing, contextualising or justifying the betrayal, i.e Captain America and the “Hail Hydra” fiasco. Betrayals are an extremely powerful tool because they can absolutely and very suddenly reverse and alter plot, character relationships, story structure.