"Other gods were worshiped."

Of course. That is what most of the Old Testament entailed, the Jewish people being assimilated into worship of other gods. Hence, the Ten Commandments, "Thou shall not worship other gods before me." And that He is a "jealous God."