Belphegor comes from the biblical name Baal-Peor, he is the God of the Moabites. The story is that when Israel owned the northeast corner of the plains of Moab, the israelites would have illicite relations with the Moabite women and would sacrifice them to their god. Moses punished by death the israelites who had sacrificed to Baal-Peor. The slaughter amounted to 24,000 deaths.