The bread of life discourse was a sermon given by Jesus to his disciples in which he describes the importance of faith in God and the need to remain in him to experience eternal life. This discourse is found in the Gospel of John chapters 6 and 7.
Jesus gave this discourse in response to the growing number of people who were following him. The people were fascinated by his teachings and were willing to leave their homes to be with him. During this discourse, Jesus compared himself to bread, saying that those who eat his flesh and drink his blood will have eternal life. This caused some of his disciples to turn away from him, as they were shocked and upset by this analogy.
Jesus wanted his disciples to know that the only way to experience eternal life is through faith in him, as he is the bread of life. He also wanted to show them that faith without works is dead, and that remaining in him requires a commitment to serving others and living a life that is in line with God's will. This discourse emphasizes the importance of faith, as well as the need to remain in Jesus in order to experience the fullness of life that he offers.