Though David is often a type of the Lord Jesus, yet he failed many times to portray our Savior. It is profitable to examine the ways in which Christ is far superior to the various shadows and types we see of Him in the Old Testament.
Perhaps the very worst case in which David betrayed the image of Christ was in the despicable incident of Bathsheba and Uriah the Hittite.
David committed adultery with Bathsheba, and then conspired to murder Uriah to cover up his sin. The particular manner he used was to instruct Joab, his army general, to abandon Uriah in the heat of battle so that the enemy of Israel might slay him.
In doing this, David betrayed a loyal and brave man, one of the chiefest of David's mighty men. He cynically exploited Uriah's loyalty and faithfulness, and stripped him on the field of battle of the trust and support of his comrades at arms.
It is important to take note that our Lord Jesus never betrays any one of His people. Though obvious to state, nevertheless sometimes in times of darkness a Saint may feel he has been abandoned. The Saints are often subject to sorrow, disease, even martyrdom for the cause of Christ.
But the Lord Jesus made it plain that such would be the case - nevertheless, He promised that not a hair of our heads should be lost!
Paul said in all our troubles, even violent death, we are more than conquerers through Him that loves us! He reminds us of Christ's promise: that He will never leave us nor forsake us.
No matter how it may seem we've been abandoned, we'll see when we reach glory that such was never the case. Indeed, the Lord's Supper celebration points to a glorious reunion - forever with the Lord!