God: "I looked for someone to take a stand for me, and stand in the gap" (Ezekiel 22:30)
The purpose of our holy and righteous God was to save His church, but their sin could not go unpunished. It was, therefore, necessary that the punishment for that sin be transferred from those who deserved it but could not bear it, to one who did not deserve it but was able to bear it.