Galatians 4:24-25

4:24 These things may be treated as an allegory, for these women represent two covenants. One is from Mount Sinai bearing children for slavery; this is Hagar. 4:25 Now Hagar represents Mount Sinai in Arabia and corresponds to the present Jerusalem, for she is in slavery with her children.

tn Grk “which things are spoken about allegorically.” Paul is not saying the OT account is an allegory, but rather that he is constructing an allegory based on the OT account.