Jesus is Son of God yet Son of Man. God allowed Him to suffer. He was rejected and despised. Isaiah said of Jesus that He would be a man of sorrows, acquainted with grief. Jesus was not born in a palace with all the advantages of wealth and privilege, He was born in a filthy animal stable. He never owned a house. He wore borrowed clothes. When He was killed, He was buried in a borrowed tomb. He had no salary, no pension, no state support.
Jesus needed to suffer so that God could identify with us, so that He could understand and feel our pain. Hebrews 4:15 teaches that Jesus is able to sympathise with our weaknesses because He Himself was tempted and tried as we are, yet He was without sin. That is why we can boldly come before God to find mercy and help in our times of need.
The cross enabled Jesus to identify with us, and for us to identify with Him. Through Jesus we can understand that sometimes suffering leads us to God. The Apostle Paul encourages in 2 Corinthians 7:10, 'For God sometimes uses sorrow in our lives to help us turn away from sin and seek eternal life' (LB).