Theme of Joshua: Israel inherits the Promised Land. Rahab provides unexpected assurance of God’s promise. Rahab renounces that of her own people and puts her faith (active trust) in the LORD – affirming Israelite prophecy, history, and theology. This account demonstrates how non-Israelites were always a part of God’s redemptive plan. She is commended not necessarily for lying, but for demonstrating her faith through actions — as we all should
Given the literary and cultural/historical context of 2 Corinthians 6:14, Paul is most likely telling the Corinthian church not to become partners with those who were engaging in idol feasts in pagan temples — for they are the temple of the Living God.