“lives.” The Hebrew word “life” is nephesh (#05315 נֶפֶשׁ), often translated “soul” (the word is plural here). Nephesh has a number of meanings, including “life” (as here in Josh. 2:13), the “individual,” the life force that animates humans, land animals, and many sea creatures.
[For more information, see Appendix 7: Usages of “Soul.”]