Jesus spoke to his disciples about vines and branches. He said I am the true vine. This was his last I am statement in John’s gospel.
Jesus wants his followers to remain connected to him like branches are to a vine. That is the only way they can bear the fruit that God wants from them. That fruit is love for each other. It’s also doing the works that Jesus did as he taught and served people.
Jesus was teaching the disciples his way of love. His way is to give his own life for others. He trusted the disciples as his friends. He shared with them the love between the Father and himself.
But Jesus warned them about people who don’t love God. Those who don’t love Jesus don’t love God. They won’t love Jesus’ followers either. Jesus didn’t want the disciples to be surprised when some people hated them. When that happened, the Holy Spirit would help them. The Spirit would be their friend like Jesus was their friend.