Elijah was just a man like you and me. He had the same kinds of flaws and failures as the rest of us. In fact, he became so fearful and depressed on one occasion that he ran into the desert and prayed that he would die!
Now, every person wants to live in close connection with others. God made us this way when He created us. He created us with a capacity to share the life of others, the desires, the dreams of others.