Galatians 4:24diathēkē
This story teaches something else: The two women are like the two agreements between God and his people. One agreement is the law that God made on Mount Sinai, and the people who are under this agreement are like slaves. The mother named Hagar is like that agreement.
Paul compares two covenants, Sinai's law and freedom, to Hagar and Sarah.
Isaiah 30:1massekhah
The Lord said, "How terrible it will be for these stubborn children. They make plans, but they don't ask me to help them. They make agreements with other nations, without asking my Spirit. They are adding more and more sins to themselves.
Judah condemned for alliances with nations without asking God's Spirit.
Jeremiah 32:44ed
They will use their money to buy fields. They will sign and seal their agreements and call in witnesses. They will again buy fields in the land of Benjamin, in the area around Jerusalem, in the towns of Judah and in the mountains, in the western hills, and in southern Judah. I will make everything as good for them as it once was," says the Lord.
Ordinary signed, sealed, witnessed land deals as sign of restoration.