Jesus was not forsaken in the soul or spirit, but only in the flesh. Jesus being forsaken means that He was given over into the hands of sinful men (the Romans) and God the Father didn’t send any angels to save Him from the agony of the cross. “God turning His face away”, or “God turning His back” means that God didn’t save Jesus from the cross and the brutality He would receive (because of our sin) from the Romans in the flesh.
In order for our sins to be paid off, Jesus is required to be abandoned in the flesh and received by God (joyfully) in the spirit. Therefore, on the cross, God turned His face toward Jesus.
God did not turn His face away in the spirit from His Son at any point or at any time. God doesn’t turn His face away from the best and holiest picture of love ever displayed to humankind. The cross is the victory, glory, and power of God, not a loss in any way, and it is His very own glorious plan from before Genesis chapter 1.
Psalm 22:24, Judges 6:13, Matthew 26:53-54, Hebrews 9:14, 1 Peter 4:1