In Hebrew the names of the woman Rahab in Joshua and the dragon Rahab from the Books of Job, Psalms and Isaiah are spelled differently and have no etymological connection.