The only way God could possibly associate with sinful humans and retain His integrity and holiness was to have a plan of salvation that could be achieved without human involvement.
This plan required a perfect, sinless sacrifice: Jesus Christ. God the Son sacrificed Himself to God the Father in order to bridge the infinite gap between unrighteous man and a holy God.