Background
Leviathan and Rahab
Background to Isaiah 27, 30 and 51
Israel's neighbors told stories of sea monsters that stood for chaos. The Bible uses the names as pictures, never as real rival gods. Leviathan is a mighty sea creature in Job 41 and Psalm 104:26, and a psalm says God crushed its heads (Ps 74:13–14). Rahab is another name for such a monster (Job 26:12), and it became a nickname for Egypt (Ps 87:4).
Isaiah uses both. On the coming day the LORD will punish Leviathan, the fleeing, twisting serpent, and slay the dragon of the sea (27:1): every power of evil will finally be destroyed. He mocks Egypt as Rahab who sits still, all noise and no help (30:7). And the people pray for the LORD's arm to wake as when he cut Rahab in pieces and dried up the sea so the redeemed could cross (51:9–10), remembering the exodus.
This Rahab has nothing to do with the woman of Jericho (Josh 2).
In Scripture
Isaiah 27:1; 30:7; 51:9–10