For they adopted the worship of Baal Peor and ate sacrifices offered to the dead.