Numbers 26:4

4 "Take a census of the people, from twenty years old and upward," as the LORD commanded Moses. The people of Israel, who came forth out of the land of Egypt, were:

Numbers 26:4 Meaning and Commentary

Numbers 26:4

[Take the sum of the people], from twenty years old and upward,
&c.] At the same age at which the sum was taken before, ( Numbers 1:3 ) so that there could not be one that was more than sixty years of age, of all those that went into the land of Canaan, except Joshua and Caleb, and besides some few in the tribe of Levi, which did not come into either of these musters:

and the Lord commanded Moses, and the children of Israel, which went
forth out of the land of Egypt;
as Moses had a command to number the people before, so he had now. The sin of David was, that he numbered the people when he had no command for it; Moses, when he brought the people out of Egypt, had them committed to him by number; and now being about to die, he delivers them up as it were by number again, as Jarchi observes.

Numbers 26:4 In-Context

2 "Take a census of all the congregation of the people of Israel, from twenty years old and upward, by their fathers' houses, all in Israel who are able to go forth to war."
3 And Moses and Elea'zar the priest spoke with them in the plains of Moab by the Jordan at Jericho, saying,
4 "Take a census of the people, from twenty years old and upward," as the LORD commanded Moses. The people of Israel, who came forth out of the land of Egypt, were:
5 Reuben, the first-born of Israel; the sons of Reuben: of Hanoch, the family of the Ha'nochites; of Pallu, the family of the Pal'luites;
6 of Hezron, the family of the Hez'ronites; of Carmi, the family of the Carmites.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.