In the Game of Thrones Season 8 finale before leaving for
The Wall (or whatever it is right now)
Jon apologises to Bran and says:
I am sorry I wasn't there when you needed me.
To which Bran replies"
You were exactly where you were supposed to be.
What is Jon apologising for and what does Bran mean exactly?