Divine covenants cannot be modified, canceled, or replaced after the fact. Breaking a covenant doesn't annul it.

And they obeyed, all the officials and all the people who had entered into the covenant that everyone would set free his slave, male or female, so that they would not be enslaved again. They obeyed and set them free. But afterward they turned around and took back the male and female slaves they had set free, and brought them into subjection as slaves.
Jeremiah 34:10-11

Judah broke God's covenant with them time after time, but that never annulled or changed the covenant. No matter how many times a covenant is broken, it cannot be annulled.

To give a human example, brothers: even with a man-made covenant, no one annuls it or adds to it once it has been ratified.
Galatians 3:15