Joshua 8:7 YLT

7 and ye rise from the ambush, and have occupied the city, and Jehovah your God hath given it into your hand;