Jn 17:9 is also a picture of who Christ does make intercession for in heaven, not the whole world without exception, but for His Elect whom He died for Rom 8:33-34
33 Who shall lay any thing to the charge of God's elect? It is God that justifieth.
34 Who is he that condemneth? It is Christ that died, yea rather, that is risen again, who is even at the right hand of God, who also maketh intercession for us.
I hope you can see the correspondence here. Jn 17:9 is Christ interceding and He specifies who He is doing it for, not all without exception, but them whom the Father has given Him. Those given Him corresponds to the elect in Rom 8:33 ; Now those in Jn 17:9 who were given to Christ, also He died for Jn 17:19
19 And for their sakes I sanctify myself, that they also might be sanctified through the truth.
Which corresponds to the fact He died for His Elect indicated in Rom 8:33 in Vs 34
34 Who is he that condemneth? It is Christ that died, yea rather, that is risen again, who is even at the right hand of God, who also maketh intercession for us.
And so the whole Scope of His Intercession was for them He died for, believers and those who shall be believers Jn 17:20
20 Neither pray I for these alone, but for them also which shall believe on me through their word;
And so it is these, the given, the elect He maketh inrercession for in Heaven Rom 8:34
34 Who is he that condemneth? It is Christ that died, yea rather, that is risen again, who is even at the right hand of God, who also maketh intercession for us.
So Christ died only for them He made or makes Intercession for ! Which isnt all without exception, but His Elect given to Him by the Father !
Heb 7:25 complements
25 Wherefore he is able also to save them to the uttermost that come unto God by him, seeing he ever liveth to make intercession for them.
The ones the Father gave Him !