How can Jesus be God, when He said that God is a spirit?

> John 4:23, 24 - But a time is coming and has now come when the true
> worshipers will worship the **Father** in spirit and in truth, for the
> **Father** is seeking such as these to worship Him. **God is Spirit**, and
> His worshipers must worship Him in spirit and in truth.”

VS:

> Titus 2:13, “…our great **God and Saviour**, Jesus Christ.”
> 
> Heb 1:8, “About the Son he says, ‘Your throne, **O God**, will last
> forever’”.
> 
> Matt 1:23, … and they will call Him Immanuel, which means, “**the God
> with us**”.
> 
> John 1:1, “In the beginning was the Word, and the Word was with God,
> and **the Word was God**”.
> 
> John 20:28, “Thomas said to him, ‘My Lord and **my God**.’”