One day in midspring,
during the 2nd year after Israel's leaving from Egypt,
God spoke to Moses in the Tabernacle.
"Take a census of the whole community of Israel.
List the names of all the men 20 years old or older who could battle."
God also said to Moses,
"Do not include the tribe of Levi from the census;
put the Levites in charge of the Tabernacle of the Covenant."
So the Israelites did everything just as God had instructed them.