How Did Rahab Escape?

Q

Just like many others, I feel inclined to start this e-mail by thanking you for your ministry and for your dedication to digging deeper and helping others come to a better understanding of the Lord and His Word. Also, thanks for the answers you’ve provided to the questions I’ve already asked you; they were quite helpful.
The thing that has me thoroughly confused today is Rahab’s house, described in Joshua 2:15, which says “Then she let them down by a rope through the window, for her house was on the city wall; she dwelt on the wall.”

You can probably see where this question is going. How did the Israelites spare the lives of Rahab and her family if they were inside of a house on top of a wall that collapsed right before the city was defeated?

 

A

Joshua 6:17 says that of the whole city only Rahab and her family would be spared, and in Joshua 6:22 we read that Joshua sent the same 2 spies she had saved into the city to rescue them just after the wall collapsed. While the Bible doesn’t say this I can imagine the dust settling around the only the part of the wall still standing; the part with Rahab’s house in it.