Deuteronomy 14:25

14:25 you may convert the tithe into money, secure the money, and travel to the place the Lord your God chooses for himself.

Deuteronomy 29:26

29:26 They went and served other gods and worshiped them, gods they did not know and that he did not permit them to worship.