It is written, that Abraham had two sons, the one by a bondmaid, the other by a freewoman.
But he who was of the bondwoman was born after the flesh; but he of the freewoman was by promise.
Which things are an allegory.

The Bible

Galatians 4:22-24