When the Pharisees said that Jesus was glorifying
Himself, He defended Himself by saying that He
had another witness, who was the Father.

"It is also written in your law, that the testimony
of two men is true. I am one that bear witness of
myself, and the Father that hath sent me beareth
witness of me" John 8:17-18

Jesus was declaring His divinity.