The Ten Commandments, heart of the testimony of God and spiritual love, were delivered on the first Pentecost at the giving of the Old Covenant. Pentecost was also the beginning of the New Covenant after the resurrection of Christ. The first event is the foundation for the second event. They were planned by God to work together. However one scripture is often cited to try and insert the notion that God made a mistake.