Psalm 40:6 Sacrifice and offering You did not desire; My ears You have opened. Burnt offering and sin offering You did not require.
These are the very things ordered by God for people to have a way of atoning for their sins.
When performed correctly and with a willing heart, God was willing to accept them instead of their own lives; our God is merciful!
God was more willing to accept love over any of the other sacrifices.
Once God made a way forward none of this was going to have to be in place any more!