Knowledge of positive truth. First, a person must know the truth about the person, cause or entity before he can have loyalty to it. One can't be loyal to someone or something about which he knows nothing. This knowledge helps a person determine whether someone or something is worthy of loyalty. Spiritual loyalty to God and Christ is built upon knowledge of God through daily study of the Bible and attendance in services where the truths of God are taught.
Confidence is built upon knowledge.
When a person continues to learn positive information about someone or something, confidence is built, confidence which requires information. This is one reason Christ spent three years with his disciples. That information built confidence that is an element in building loyalty. Attachment results from confidence. From confidence comes attachment, a vital element in building loyalty.