The Lord goes on to command Moses to take vengeance on the Midianites in retaliation for their seducing the Israelites at Baal-peor. Yes, against his own wife’s people! Both Balak, the King of Moab, and Balaam, who had advised that Israel would be cursed if they were drawn into sin, are killed in this battle.
The Book of Daniel is found in the Writings (Ketuv’im) along with the books of Esther, Psalms, Proverbs, and other “non-prophetic” books. Therefore, the book of Daniel is not found in the Prophets (Nevi’im) section, and Daniel himself is not considered a prophet in Judaism.
These books cover the life of the nation from their possession of the land down to the two deportations and loss of the land because of unbelief and disobedience.