And you are not wrong to say that he was tempted, but he was tempted on a human side.
Here this may help you better.
Okay look at Peter. Everytime he did something in human thinking, lets say, he got yelled at. Think what Jesus kept telling him all through the scripture. Peter stop thinking like this world!! Peter said don’t die, Jesus was like I have to die so you can live. Peter couldnt get it, Human thinking again.
Now Jesus asked who am I? Peter was the one who came up with the right answer, How? Simple Jesus told him, it was not human (flesh and blood) that revealed this to you, but my Father in heaven. Now Peter got A+ on that one, he spoke as divine not human.
Not lets go back to where he is told to lead all of the other Disciples
Jesus said Peter do you love me, he speaks human he says yes, then again, he speaks human he says yes. Then HE GETS IT!! He speaks Divine. He does not say YES I LOVE YOU THE MOST! He says YOU KNOW EVERYTHING LORD! See he is now thinking and speaking in the Divine!
We tend to do this.
Now if Jesus was tempted, in the sense that he had the desire to sin, he could not be God! Why? Because God would never have the desire to sin.
But does humans tempting humans to sin mean that they have made them have that DESIRE? Of course not. The only way you could tempt me to sin, is if I wanted to do it all along.
Not was Jesus tempted as a HUMAN to sin? Yes he was. But was he TEMPTED as far as did he have that DESIRE? No he did not. I am trying to think of a clearer way of saying it. Let me think somemore on that.
But remember Christ did not reveal himself to us as being God why? Simple. He knew that a human cannot glorify themself.
If I was the best in the world and kept saying I am the best. you would not accept that. But if the world kept saying I was the best, then you would accept it. See what I am saying. God knew he could not glorify himself as the Father so the Son glorified the Father so the Son could glorify the Father. Does it make better sense to you that way?
It goes back to this world self praise is not worth much. But others praise!!