KJV: And thou shalt do to Ai and her king as thou didst unto Jericho and her king: only the spoil thereof, and the cattle thereof, shall ye take for a prey unto yourselves: lay thee an ambush for the city behind it.
NASB: "You shall do to Ai and its king just as you did to Jericho and its king; you shall take only its spoil and its cattle as plunder for yourselves. Set an ambush for the city behind it."
KJV: And he commanded them, saying, Behold, ye shall lie in wait against the city, even behind the city: go not very far from the city, but be ye all ready:
NASB: He commanded them, saying, "See, you are going to ambush the city from behind it. Do not go very far from the city, but all of you be ready.
KJV: And I, and all the people that are with me, will approach unto the city: and it shall come to pass, when they come out against us, as at the first, that we will flee before them,
NASB: "Then I and all the people who are with me will approach the city. And when they come out to meet us as at the first, we will flee before them.
KJV: (For they will come out after us) till we have drawn them from the city; for they will say, They flee before us, as at the first: therefore we will flee before them.
NASB: "They will come out after us until we have drawn them away from the city, for they will say, 'They are fleeing before us as at the first.' So we will flee before them.
KJV: And it shall be, when ye have taken the city, that ye shall set the city on fire: according to the commandment of the LORD shall ye do. See, I have commanded you.
NASB: "Then it will be when you have seized the city, that you shall set the city on fire. You shall do it according to the word of the LORD. See, I have commanded you."
KJV: And all the people, even the people of war that were with him, went up, and drew nigh, and came before the city, and pitched on the north side of Ai: now there was a valley between them and Ai.
NASB: Then all the people of war who were with him went up and drew near and arrived in front of the city, and camped on the north side of Ai. Now there was a valley between him and Ai.