David was a type of human precursor to Messiah warts and all. But David could not be Holy or Lord.
Jesus also was not a Pharisee. In fact, he rebuked the Pharisees. Now Paul? He was a former Pharisee and a religious zealot who hunted down Christians like dogs until he met Jesus on the road to Damascus and did a complete 180.
More about Jesus in the Old Testament, and Salvation. There is only ONE whom Salvation can come through and that is The Passover Lamb.
There is only One Judge who will Judge the wicked and the righteous, and that is Messiah, Yeshua, Jesus Christ.
Psalm 34
11 Come, my children, listen to me;
I will teach you the fear of the Lord.
12 Whoever of you loves life
and desires to see many good days,
13 keep your tongue from evil
and your lips from telling lies.
14 Turn from evil and do good;
seek peace and pursue it.
15 The eyes of the Lord are on the righteous,
and his ears are attentive to their cry;
16 but the face of the Lord is against those who do evil,
to blot out their name from the earth.
17 The righteous cry out, and the Lord hears them;
he delivers them from all their troubles.
18 The Lord is close to the brokenhearted
and saves those who are crushed in spirit.
19 The righteous person may have many troubles,
but the Lord delivers him from them all;
20 he protects all his bones,
not one of them will be broken.
21 Evil will slay the wicked;
the foes of the righteous will be condemned.
22 The Lord will rescue his servants;
no one who takes refuge in him will be condemned.