Loyalty is a fixed preference for the advantage of someone else.
Loyalty is not directly related to how you feel about a person. An officer may have soldiers he doesn’t like, whose behavior he doesn’t approve of, and who cause him no end of trouble. Nevertheless, he can and should be loyal to them. Because God is.
Loyalty has a reciprocal flow: it flows down from a position of authority and back up again. You have no right to expect loyalty from someone below you, if you haven’t demonstrated loyalty to them first. However, you have every right to expect loyalty from your superiors. Because God is.
The combination of God’s personal affection and enduring faithfulness indicated in the Hebrew word “chesed” (חסד) is best translated “Loyalty.”