The Use of Psalm 22 in Matthew 27

Ps. 22:18 They divide my garments among them, and for my clothing they cast lots. And when they had crucified him, they divided his garments among them by casting lots. Matt. 27:35
Ps. 22:7 All who see me mock me; they make mouths at me; they wag their heads. And those who passed by derided him, wagging their heads. Matt. 27:39
Ps. 22:8 “He trusts in the Lord; let him deliver him; let him rescue him, for he delights in him!” He trusts in God; let God deliver him now, if he desires him. For he said, “I am the Son of God.” Matt. 27:43
Ps. 22:1 My God, my God, why have you forsaken me? Why are you so far from saving me, from the words of my groaning? And about the ninth hour Jesus cried out with a loud voice, saying, “Eli, Eli, lema sabachthani?” that is, “ My God, my God, why have you forsaken me?” Matt. 27:46