building altars to foreign gods