Joshua 24:16

14 Now, therefore, fear the LORD and serve Him in sincerity and truth; cast aside the gods your fathers served beyond the Euphrates and in Egypt, and serve the LORD.

15 But if it is unpleasing in your sight to serve the LORD, then choose for yourselves this day whom you will serve, whether the gods your fathers served beyond the Euphrates, or the gods of the Amorites in whose land you are living. As for me and my house, we will serve the LORD!”

The people replied, “Far be it from us to forsake the LORD to serve other gods!

17 For the LORD our God brought us and our fathers out of the land of Egypt, out of the house of slavery, and performed these great signs before our eyes. He also protected us throughout our journey and among all the nations through which we traveled.

18 And the LORD drove out before us all the nations, including the Amorites who lived in the land. We too will serve the LORD, because He is our God!”

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

Compare

BSB
The people replied, “Far be it from us to forsake the LORD to serve other gods!
KJV
And the people answered and said, God forbid that we should forsake the LORD, to serve other gods;
WEB
The people answered, “Far be it from us that we should forsake the LORD, to serve other gods;
ASV
And the people answered and said, Far be it from us that we should forsake Jehovah, to serve other gods;
DARBY
And the people answered and said, Far be it from us that we should forsake Jehovah, to serve other gods;
BLB
And the people answered and said, “Far be it from us that we should forsake YHWH to serve other gods!
ÅB
Da svarte folket og sa: Det være langt fra oss å forlate Herren for å dyrke fremmede guder!
OTB
Da svarte folket: «Vi vil aldri forlate Herren for å tjene andre guder!
B1930
Da svarte folket og sa: Det være langt fra oss å forlate Herren for å dyrke fremmede guder!

Study notes (Tyndale)

Original text and word study

Cross references