In Galatians 4:24, Paul interprets Hagar and Sarah allegorically as two covenants. These women, and their respective children, represent the contrast between works and law on the one hand and grace and Spirit on the other.

This clip is from Christ the Center episode 652 (https://www.reformedforum.org/ctc652)