This could be translated as, "sent some of their people to tell Joshua that they needed the Israelites to help defend them against their enemies."