Deuteronomy 6:12

10 And when the LORD your God brings you into the land He swore to your fathers, to Abraham, Isaac, and Jacob, that He would give you—a land with great and splendid cities that you did not build,

11 with houses full of every good thing with which you did not fill them, with wells that you did not dig, and with vineyards and olive groves that you did not plant—and when you eat and are satisfied,

be careful not to forget the LORD who brought you out of the land of Egypt, out of the house of slavery.

13 Fear the LORD your God, serve Him only, and take your oaths in His name.

14 Do not follow other gods, the gods of the peoples around you.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
be careful not to forget the LORD who brought you out of the land of Egypt, out of the house of slavery.
KJV
Then beware lest thou forget the LORD, which brought thee forth out of the land of Egypt, from the house of bondage.
WEB
then beware lest you forget the LORD, who brought you out of the land of Egypt, out of the house of bondage.
ASV
then beware lest thou forget Jehovah, who brought thee forth out of the land of Egypt, out of the house of bondage.
DARBY
[then] beware lest thou forget Jehovah who brought thee forth out of the land of Egypt, out of the house of bondage.
BLB
[then] take heed to it lest you forget YHWH who brought you out of the land of Egypt, out of the house of slavery.
ÅB
da ta deg i vare at du ikke glemmer Herren, som førte deg ut av Egypt, av slavehuset!
OTB
vær forsiktig så du ikke glemmer Herren, som førte deg ut av Egypt, ut av slavehuset.
B1930
da ta dig i vare at du ikke glemmer Herren, som førte dig ut av Egyptens land, av trælehuset!

Study notes (Tyndale)

Original text and word study