When Israel was in Egypt there were surely lots of gods in the world. Egypt had 9 gods they served and other nations had their gods.
One goal of Jehovah sending Moses and Aaron in to rescue His people is to show that He is greater than the gods of Egypt. Pharoah says in Exodus 5:2, “But Pharaoh said, “Who is the Lord that I should obey His voice to let Israel go? I do not know the Lord, and besides, I will not let Israel go.”1
Clearly Pharaoh did not believe the God of Moses and Aaron was more powerful than him and his gods. So God showed Pharaoh through the 9 plagues recorded in Exodus.
After Pharaoh and his gods are defeated then Jehovah moves toward the Promised Land to show those nations that He is greater than them and their gods.
Ultimately Israel’s presence in the Promised Land tells the surrounding nations that fact. Hence the Harlot in Jericho says the people were frightened because they had heard of what Israel’s God had done.
Joshua 2:9-11, “and [Rahab the harlot] said to the men, “I know that the Lord has given you the land, and that the terror of you has fallen on us, and that all the inhabitants of the land have melted away before you. 10“For we have heard how the Lord dried up the water of the Red Sea before you when you came out of Egypt, and what you did to the two kings of the Amorites who were beyond the Jordan, to Sihon and Og, whom you utterly destroyed. 11“When we heard it, our hearts melted and no courage remained in any man any longer because of you; for the Lord your God, He is God in heaven above and on earth beneath.”2
Once King David successfully triumphed to take Jerusalem Jehovah’s victory was complete and His superiority over all other gods evident.
Now in our day Jehovah’s desire is the same: to show the peoples of the world that He is greater than them and their gods. Thus the Gospel is preached to all nations bringing converts from every nation, tribe and tongue to be in the eternal paradise with Jehovah.
4 John to the seven churches which are in Asia: Grace be unto you, and peace, from him which is, and which was, and which is to come; and from the seven Spirits which are before his throne; 5 And from Jesus Christ, who is the faithful witness, and the first begotten of the dead, and the prince of the kings of the earth. Unto him that loved us, and washed us from our sins in his own blood, 6 And hath made us kings and priests unto God and his Father; to him be glory and dominion for ever and ever. Amen.
1 New American Standard Bible: 1995 update. (1995). (Ex 5:2). La Habra, CA: The Lockman Foundation.
2 New American Standard Bible: 1995 update. (1995). (Jos 2:9–11). La Habra, CA: The Lockman Foundation.
3 The Holy Bible: King James Version. (2009). (Electronic Edition of the 1900 Authorized Version., Re 1:4–6). Bellingham, WA: Logos Research Systems, Inc.