Rahab was, according to the Book of Joshua, a Gentile and a Canaanite woman who lived in Jericho in the Promised Land and assisted the Israelites by hiding two men who had been sent to scout the city prior to their attack. In the New Testament, she is lauded both as an example of a saint who lived by faith, and as someone "considered righteous" for her works. According to biblical research, the author intended that she did not actually contribute in conquering the city, but rather saved herself and her family from death by the Israelites' forces.
Rahab (center) in James Tissot's The Harlot of Jericho and the Two Spies.
Rahab Receiveth and Concealeth the Spies by Frederick Richard Pickersgill (1881)
The Book of Joshua is the sixth book in the Hebrew Bible and the Old Testament, and is the first book of the Deuteronomistic history, the story of Israel from the conquest of Canaan to the Babylonian exile. It tells of the campaigns of the Israelites in central, southern and northern Canaan, the destruction of their enemies, and the division of the land among the Twelve Tribes, framed by two set-piece speeches, the first by God commanding the conquest of the land, and, at the end, the second by Joshua warning of the need for faithful observance of the Law (torah) revealed to Moses.
Early 4th-century CE manuscript of Joshua from Egypt, in Coptic translation.
Joshua and the Israelites crossing the Jordan (Gustave Doré)
Joshua passing the River Jordan with the Ark of the Covenant, painted by Benjamin West, 1800
The Ark Passes Over the Jordan (watercolor c. 1896–1902 by James Tissot)