God intended Christ to die a sacrifice for the sins of the holy nation He was creating in Christ.
one time Satan speaks through Peter about Christ not dying, and this offended Christ as it was why Christ came.
Jesus Predicts His Death and Resurrection
21 From that time Jesus began to show to His disciples that
He must go to Jerusalem, and suffer many things from the elders and chief priests and scribes, and be killed, and be raised the third day.
22 Then Peter took Him aside and began to rebuke Him, saying, [
i]“Far be it from You, Lord; this shall not happen to You!”
23 But He turned and said to Peter, “Get behind Me, Satan! You are [
j]an offense to Me, for you are not mindful of the things of God, but the things of men.”