Josh 2:4

2:4 I did not know. She did know (v. 9). The writer of Joshua does not justify or condemn Rahab for lying, but James approves her action (James 2:25). Deception is a necessary tactic in war. The main point is why Rahab protects the foreign spies (vv. 9–11).