Many are the afflictions of the righteous but the Lord delivers him out of them all. He keeps all his bones, not one of them is broken. Psalm 34:19-20 written 1000 b.c.
It was the day of preparation and the next day was to be a special Sabbath. Because the Jews did not want the bodies left on the crosses during the Sabbath, they asked Pilate to have the legs broken and the bodies taken down. The soldiers therefore came and broke the legs of the first man who had been crucified with Jesus and then those of the other. But when they came to Jesus and found that he was already dead, they did not break his legs. John 19:31-33