Recorded in the three sections of Numbers are events at Mount Sinai (1:1–10:10), later in the wilderness (10:11–21:35) and on the plains of Moab (22:1–36:13).
... Jehovah destroys 24,000 wrongdoers before Phinehas stops the plague by executing an immoral Israelite man and a Midianitess.—Numbers 22:1–25:18; 31:15, 16.