Israelite soldiers who touched dead bodies became ceremonially unclean (ritually impure). They had to go through the required purification rituals.
These rituals were routine, but they were important. They also had to purify their equipment (see 5:1–4; 19:1–22).