This point is shocking. On the cross, as our substitute, Jesus was made the worst of what we are. This does not mean that Jesus ever sinned. Rather, it means that He was made sin. Jesus became the ugliest, wicked, and most defiled evil in all creation. On the cross, Jesus exchanged His perfection for our imperfection, His righteousness for our unrighteousness, His intimacy with God for our distance from God, His blessing for our cursing, His life for our death.
Isaiah 53:6; 2 Corinthians 5:21