"But you are those who have continued with Me in My trials." (Luke 22:28; NKJV)
For all of their faults, the Apostles continued with Jesus in His trials. Yes, they abandoned Him in Gethsemane, but they made their way back to Him in the upper room after His resurrection. They then suffered their own trials in His name.
Continue with Him. He will continue with you. One day we will rejoice in the place where all of our trials will be no more.