[SUP]Joshua 8
30 [/SUP]Now
Joshua built an altar to the Lord God of Israel in Mount Ebal, [SUP]31 [/SUP]as Moses the servant of the Lord had commanded the children of Israel, as it is written in the Book of the Law of Moses: “an altar of whole stones over which no man has wielded an iron
tool.”[SUP][
a][/SUP] And they offered on it burnt offerings to the Lord, and sacrificed peace offerings. [SUP]32 [/SUP]And there, in the presence of the children of Israel, he wrote on the stones a copy of the law of Moses, which he had written. [SUP]33 [/SUP]Then all Israel, with their elders and officers and judges, stood on either side of the ark before the priests, the Levites, who bore the ark of the covenant of the Lord, the stranger as well as he who was born among them. Half of them
were in front of
Mount Gerizim and half of them in front of Mount Ebal, as Moses the servant of the Lord had commanded before, that they should bless the people of Israel. [SUP]34 [/SUP]And afterward he read all the words of the law, the blessings and the cursings, according to all that is written in the Book of the Law. [SUP]35 [/SUP]There was not a word of all that Moses had commanded which Joshua did not read before all the assembly of Israel, with the women, the little ones, and the strangers who were living among them.
THere are many places in the Old testament where God was worshiped besides Jerusalem. The Law allows people to kill and sacrifice animals to the Lord in various places.
However, we are in the NEW covenant that Jesus spoke of when He said that we will worship God in Spirit and in Truth and no longer need any of those altars: the ones Joseph built or the ones in Jerusalem.