Acts 2:23

23 This man was handed over to you by God’s deliberate plan and foreknowledge; and you, with the help of wicked men,a put him to death by nailing him to the cross.

Read Acts 2:23 Using Other Translations

Him, being delivered by the determinate counsel and foreknowledge of God, ye have taken, and by wicked hands have crucified and slain:
this Jesus, delivered up according to the definite plan and foreknowledge of God, you crucified and killed by the hands of lawless men.
But God knew what would happen, and his prearranged plan was carried out when Jesus was betrayed. With the help of lawless Gentiles, you nailed him to a cross and killed him.