These things happened so that the scripture would be fulfilled: “Not one of his bones will be broken,”

The circumstances of Jesus’ death were extraordinary. He did not have his legs broken even though the other two being crucified with Him did, and His body was pierced by the hard thrust of a spear, which was quite unusual in those circumstances, and yet no bones were broken by the spear.

The first happened in this way that scripture should be fulfilled. In a general sense that scripture could be (Psa 34:20), but specifically it was (Ex 12:46, Num 9:12) because Christ is our Passover Lamb (John 1:29, 1 Cor 5:7).

Psalms 34:20  he protects all his bones, not one of them will be broken.

Exodus 12:46  “It must be eaten inside one house; take none of the meat outside the house. Do not break any of the bones.

Numbers 9:12  They must not leave any of it till morning or break any of its bones. When they celebrate the Passover, they must follow all the regulations.

John 1:29  The next day John saw Jesus coming towards him and said, “Look, the Lamb of God, who takes away the sin of the world!

1 Corinthians 5:7  Get rid of the old yeast that you may be a new batch without yeast—as you really are. For Christ, our Passover lamb, has been sacrificed.