Deuteronomy 5:7

5 At that time I was standing between the LORD and you to declare to you the word of the LORD, because you were afraid of the fire and would not go up the mountain. And He said:

6 “I am the LORD your God, who brought you out of the land of Egypt, out of the house of slavery.

You shall have no other gods before Me.

8 You shall not make for yourself an idol in the form of anything in the heavens above, on the earth below, or in the waters beneath.

9 You shall not bow down to them or worship them; for I, the LORD your God, am a jealous God, visiting the iniquity of the fathers on their children to the third and fourth generations of those who hate Me,

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

Compare

BSB
You shall have no other gods before Me.
KJV
Thou shalt have none other gods before me.
WEB
“You shall have no other gods before me.
ASV
Thou shalt have no other gods before me.
DARBY
Thou shalt have no other gods before me.
BLB
You shall have no other gods before Me.
ÅB
Du skal ikke ha andre guder foruten meg.
OTB
‘Du skal ikke ha andre guder enn Meg.
B1930
Du skal ikke ha andre guder foruten mig.

Study notes (Tyndale)

Original text and word study

Cross references