Indeed, Jesus did claim to be God on multiple occasions. When the Pharisees, who were well educated in the Scripture’s prophecies of a coming Messiah, heard Jesus claiming to be God they accused Him of blasphemy and cried out “crucify Him.”
Read more about how and when Jesus made claims of divinity: What are the Seven “I Am” and “I Will” Statements from Jesus? He is the Great I AM
Read how Pilate proclaimed Jesus to be God: Did Pilate Proclaim Jesus to be God?