Isa 53:6, Jn 1:29, Heb 13:11-12

In the Old Testament, the priests placed their hands on the head of a live goat, making it bear the sins of the Israelites and causing the goat to die in the wilderness. (Lev 16:10,21-22)

Lev 16:10 But the goat, on which the lot fell to be the scapegoat, shall be presented alive before the Lord, to make an atonement with him, and to let him go for a scapegoat into the wilderness. 21 And Aaron shall lay both his hands upon the head of the live goat, and confess over him all the iniquities of the children of Israel, and all their transgressions in all their sins, putting them upon the head of the goat, and shall send him away by the hand of a fit man into the wilderness: 22 And the goat shall bear upon him all their iniquities unto a land not inhabited: and he shall let go the goat in the wilderness.

In the Old Testament, it was foretold that God would have the coming Christ to bear our sins. (Isa 53:6)

Isa 53:6 All we like sheep have gone astray; we have turned every one to his own way; and the Lord hath laid on him the iniquity of us all.

Jesus is the Christ, the Lamb of God who took away the sin of the world. (John 1:29)

John 1:29 The next day John seeth Jesus coming unto him, and saith, Behold the Lamb of God, which taketh away the sin of the world.

Jesus, the Christ, suffered outside the gates to sanctify us. (Hebrews 13:11-12)

Hebrews 13:11 For the bodies of those beasts, whose blood is brought into the sanctuary by the high priest for sin, are burned without the camp. 12 Wherefore Jesus also, that he might sanctify the people with his own blood, suffered without the gate.