When in the vicinity of a dead body, the Law of Moses said,
“This is the law when a man dies in a tent: All who come into the tent and all who are in the tent shall be unclean seven days; and every open vessel, which has no cover fastened on it, is unclean” (Numbers 19.14, 15).
Remember that simply because something was unclean, did not mean that it was sinful, for as in this case, when someone died, the Israelites had to do something with the dead body.
It was just that the uncleanness prevented the ancient Israelite from approaching the Lord, but after going through this seven-day period of cleansing, that person would then be free to approach the Lord again.
Our God is about life, and this illustrated that for Israel and for the world.