In John 15:1-2, 4-5, Jesus is talking to the disciples before he is arrested. He tells them this:
Remain in me, as I also remain in you. No branch can bear fruit by itself; it must remain in the vine. Neither can you bear fruit unless you remain in me.