By Emunah, Rachav the Zonah did not perish along with the ones without mishma'at (obedience), after she gave the kabbalat panim to the spies b'shalom (YEHOSHUA 2:9).