Jesus is about to leave his disciples to return to heaven via the cross, resurrection and ascension. He comforts his disciples by promising to ask the Father who will give them another Helper who would be for them what Jesus had been for them while he was with them on earth.
Read John 14:15-17