Having called together the leaders of all twelve tribes, Joshua asked them to freely chose what god they would follow. If they wanted, they could serve the gods followed by their fathers across the Jordan; or if they choose, they could follow the gods of the Amorites whose land they had inherited.
Joshus said that he and his people would follow Yahweh. When the people all said thy would do the same, Joshua warned them, saying that Yahweh was a jealous God who would not put up with any who turned from him to other gods.
What other gods might we follow? Fame? Alcohol?
What about your own self? Could that be the other god you prefer to Yahweh?