Yes, Jesus knows how you feel when you experience the pain of betrayal and abandonment. He chose a place and a time to experience those pains and those losses.
What did He experience?
He experienced betrayal by those He chose, those He loved, those He trusted, and those He lived with.
He also lived through abandonment by these people when the social and political environment became too hostile, too uncomfortable, too dangerous. Add to this denial, rejection, an illegal trial, and torture while in custody.
You can trust Him to know how you feel when everything falls apart and even God the Father seems absent.
The story doesn't end there, just as our stories don't have to end while we endure the dark night of the soul.
But isn't it a comfort to know we follow One who has lived so much of what we fear and He was not overcome by it? He will take our hands and guide us and protect us and show us the way to the light. He walked through the darkness and was not overcome.