Among the lines of evidence proving that Christ was God are the many Old Testament titles for God that He applied to Himself.
Ps. 23:1 “The Lord is my shepherd; I shall not want."
Ps. 80:1 “Give ear, O Shepherd of Israel, thou that leadest Joseph like a flock; thou that dwellest between the cherubims, shine forth.”
John 10:11,14,27 “I am the good shepherd: the good shepherd giveth his life for the sheep.”
John 10:14 “I am the good shepherd, and know my sheep, and am known of mine.”
Ps. 27:1 “The Lord is my light and my salvation; whom shall I fear? the Lord is the strength of my life; of whom shall I be afraid?”
Ps. 8:12 “Then spake Jesus again unto them, saying, I am the light of the world: he that followeth me shall not walk in darkness, but shall have the light of life.”
John 9:5 “As long as I am in the world, I am the light of the world.”
Ps. 18:2 “ The Lord is my rock, and my fortress, and my deliverer; my God, my strength, in whom I will trust; my buckler, and the horn of my salvation, and my high tower.”
Ps. 18:31 “For who is God save the Lord? or who is a rock save our God?”
Ps. 18:46 “The Lord liveth; and blessed be my rock; and let the God of my salvation be exalted.”
Ps. 28:1 “Unto thee will I cry, O Lord my rock; be not silent to me: lest, if thou be silent to me, I become like them that go down into the pit.”
Matt. 16:18 “And I say also unto thee, That thou art Peter, and upon this rock I will build my church; and the gates of hell shall not prevail against it.”
1 Cor. 10:4 “And did all drink the same spiritual drink: for they drank of that spiritual Rock that followed them: and that Rock was Christ.”
Ps. 34:7 “The angel of the Lord encampeth round about them that fear him, and delivereth them.”
Ps. 106:10 “And he saved them from the hand of him that hated them, and redeemed them from the hand of the enemy.”
Ps. 44:7 “But thou hast saved us from our enemies, and hast put them to shame that hated us.”
Luke 1:74 “ That he would grant unto us, that we being delivered out of the hand of our enemies might serve him without fear,”
Jer. 23:6 “In his days Judah shall be saved, and Israel shall dwell safely: and this is his name whereby he shall be called, The Lord Our Righteousness.”
Jer. 33:16 “In those days shall Judah be saved, and Jerusalem shall dwell safely: and this is the name wherewith she shall be called, The Lord our righteousness.”
1 Cor. 1:30 “But of him are ye in Christ Jesus, who of God is made unto us wisdom, and righteousness, and sanctification, and redemption:”
2 Cor. 5:21 “ For he hath made him to be sin for us, who knew no sin; that we might be made the righteousness of God in him.”