Joshua 5:13 NLT

13 When Joshua was near the town of Jericho, he looked up and saw a man standing in front of him with sword in hand. Joshua went up to him and demanded, “Are you friend or foe?”