Jesus claims to be glorified

I am the LORD, that is My name;
And My glory I will not give to another, nor My praise to carved images.

-- Isaiah 42:8 (NKJV)

Yet Jesus said:

And Jesus answered them, saying, "The hour has come for the Son of Man to be glorified. -- John 12:23 (ESV)

and

All mine are Yours, and Yours are mine, and I am glorified in them. -- John 17:10 (ESV)

Out of context, it seems like Jesus contradicts Isaiah. To solve this "contradiction", some would argue this proof that Jesus is the LORD. This argument is supported by the confusion caused by removing God's name is replaced with "the LORD" which is also what Jesus is called.

In the context of Isaiah 42:8, the issue was the God do not want to share His glory with foreign idols ("carved images"), however as the Father of Jesus, the Son of God, He has no problem with anyone glorifies His Son, because that automatically also glorifies Him.

If God is glorified in him, God will also glorify him in Himself, and glorify him at once. -- John 13:32 (ESV)

No parent should be competing with their children, but should instead support their children. For example, a human father is also glorified (honoured) when someone glorifies (honour) his son which means that the father raised his son well.

All may honor the Son, just as they honor the Father. -- John 5:22 (ESV)

Therefore, both Isaiah and Jesus are correct. In the context of John 17, Jesus prayed a few verses earlier:

When Jesus had spoken these words, he lifted up his eyes to heaven, and said, “Father, the hour has come; glorify your Son that the Son may glorify You, since You have given him authority over all flesh, to give eternal life to all whom You have given him. -- John 17:1-2 (ESV)

In other words, if someone gives glory to Jesus, it also glorifies God the Father of Jesus.

Jesus himself says that it is useless to glorify oneself:

Jesus answered, “If I glorify myself, my glory is nothing. It is my Father Who glorifies me, of Whom you say, ‘He is our God.’ -- John 8:54 (ESV)

Therefore, Jesus has to be distinct from God the Father to be glorified by Him.