Sign of the Chosen Priesthood
In the rebellion of Korah, the heresy that just any Israelite could serve in God’s priesthood had spread throughout the camp. And even though the instigators of this idea had been removed, the idea itself persisted among the people. Indeed, it was evident from the people’s response following God’s execution of the rebels—blaming Moses and Aaron—that they did not really understand why God had done this. So He would make it very clear to them that only Aaron and His descendants were to serve as the priests of His physical nation—and that any violation of this rule would merit death, as they had already witnessed.
God asked Moses for each family tribe to get a staff, a rod, and whittle the name of the family’s leader onto the stick. Aaron’s name was to be on the rod of the family of the Levites. If the name “Levi” had been on the rod of the Levites, all the Levites would have an equal claim to the priesthood. But as we know, that was not the case (remember, even Korah and his family were Levites). Moses was then to lay these 12 rods side by side before God in the tabernacle. God would settle the matter, hopefully once and for all, by miraculously causing the rod of the one He had chosen to blossom (verse 5). That would put a stop to any and all claims that the priesthood belonged to others. Moses did as God had instructed, and the next day Aaron’s rod had buds, blossoms and almonds that had already ripened! Every tribe got their lifeless stick back, while Aaron’s blossoming rod was laid up in the Most Holy Place to serve as a sign against any future attempts to usurp the priesthood (Hebrews 9:3-4 Hebrews 9:3-4  And after the second veil, the tabernacle which is called the Holiest of all;
 Which had the golden censer, and the ark of the covenant overlaid round about with gold, wherein was the golden pot that had manna, and Aaron’s rod that budded, and the tables of the covenant;
American King James Version×).
Finally, the congregation seems to get the picture that God is more serious about preserving the sanctity of His holy things than about physical life and death. However, considering the context, it appears that Numbers 17 ends with the Israelites falling into despair over the concern that they could be annihilated due to some random mistake or oversight at the tabernacle (see verses 12-13)—in which case, God basically answers their concern in the next chapter.