They aligned themselves with Baal of Peor and ate sacrifices offered to lifeless gods. 