Hebrew Bible

Joshua 2:1

1 Joshua son of Nun sent two spies out from Shittim secretly and instructed them: “Find out what you can about the land, especially Jericho.” They stopped at the house of a prostitute named Rahab and spent the night there. 2 The king of Jericho received this report: “Note well! Israelite men have come here tonight to spy on the land.” 3 So the king of Jericho sent this order to Rahab: “Turn over the men who came to you—the ones who came to your house—for they have come to spy on the whole land!” 4 But the woman hid the two men and replied, “Yes, these men were clients of mine, but I didn’t know where they came from. 5 When it was time to shut the city gate for the night, the men left. I don’t know where they were heading. Chase after them quickly, for you have time to catch them!”

Date: 6th Century B.C.E. (Final composition)
* Dates are based on scholarly estimates
New Testament

Hebrews 11:31

29 By faith they crossed the Red Sea as if on dry ground, but when the Egyptians tried it, they were swallowed up. 30 By faith the walls of Jericho fell after the people marched around them for seven days. 31 By faith Rahab the prostitute escaped the destruction of the disobedient because she welcomed the spies in peace. 32 And what more shall I say? For time will fail me if I tell of Gideon, Barak, Samson, Jephthah, of David and Samuel and the prophets. 33 Through faith they conquered kingdoms, administered justice, gained what was promised, shut the mouths of lions,

Date: 80-90 C.E.
* Dates are based on scholarly estimates