Do you see offer in the passage ?
John 12
23 And Jesus answered them, saying, The hour is come, that the Son of man should be glorified.
24 Verily, verily, I say unto you, Except a corn of wheat fall into the ground and die, it abideth alone: but if it die, it bringeth forth much fruit.
25 He that loveth his life shall lose it; and he that hateth his life in this world shall keep it unto life eternal.
26 If any man serve me, let him follow me; and where I am, there shall also my servant be: if any man serve me, him will my Father honour.
27 Now is my soul troubled; and what shall I say? Father, save me from this hour: but for this cause came I unto this hour.
28 Father, glorify thy name. Then came there a voice from heaven, saying, I have both glorified it, and will glorify it again.
29 The people therefore, that stood by, and heard it, said that it thundered: others said, An angel spake to him.
30 Jesus answered and said, This voice came not because of me, but for your sakes.
31 Now is the judgment of this world: now shall the prince of this world be cast out.
32 And I, if I be lifted up from the earth, will draw all men unto me.
Of course Jesus had to die for the sins of the world in order for God to forgive the sins of those who turned to Jesus for forgiveness. Of course Jesus draws all sinners to Himself for salvation if they would only believe and receive His Word. Of course Jesus offers to save anyone who complies with God's command to repent and turn to Jesus for forgiveness.