Did Jesus know He would have to die on the cross before it happened?
Jesus knew He would have to die for us before it happened Jesus wanted His disciples to prepare themselves for what was about to happen to Him so He warned them and He also wanted them to believe that He was God's only Son the same one that was prophesied about in the scriptures. Now I tell you before it come, that, when it is come to pass, ye may believe that I am he. John 13:19 Jesus knew prior to His death that He would be betrayed by Judas Iscariot because before His death
Jesus washed the feet of His disciples and when He was finished He talked to them telling them that one of them would betray Him.
For he knew who should betray him; therefore said he, Ye are not all clean. John 13:11
He says it again but with more clarity:
When Jesus had thus said, he was troubled in spirit, and testified, and said, Verily, verily, I say unto you, that one of you shall betray me. John 13:21