But I do exactly what the Father has commanded Me, so that the world may know that I love the Father.
Jesus does exactly what the Father commanded so the world may know his love for the Father.
This verse closes with obedience made visible.
27Peace I leave with you; My peace I give to you. I do not give to you as the world gives. Do not let your hearts be troubled; do not be afraid. 28You heard Me say, ‘I am going away, and I am coming back to you.’ If you loved Me, you would rejoice that I am going to the Father, because the Father is greater than I. 29And now I have told you before it happens, so that when it does happen, you will believe. 30I will not speak with you much longer, for the prince of this world is coming, and he has no claim on Me. 31But I do exactly what the Father has commanded Me, so that the world may know that I love the Father.