It is said that Rahab had been crushed
Psalm 89:10 NIV
You crushed Rahab like one of the slain; with your strong arm you scattered your enemies.
Again Isaiah seems to say the same thing about Rahab was cut to piecies
Isaiah 51:9 NIV
Awake, awake, arm of the Lord, clothe yourself with strength! Awake, as in days gone by, as in generations of old. Was it not you who cut Rahab to pieces, who pierced that monster through?
But Rahab and her family were the only ones who survived when Joshua destroyed Jericho
Joshua 6:22 NIV
22 Joshua said to the two men who had spied out the land, “Go into the prostitute’s house and bring her out and all who belong to her, in accordance with your oath to her.” 23 So the young men who had done the spying went in and brought out Rahab, her father and mother, her brothers and sisters and all who belonged to her. They brought out her entire family and put them in a place outside the camp of Israel
So how was Rahab crushed?.