The Bible says: “Was not also Rahab the harlot declared righteous by works, after she had received the messengers hospitably and sent them out by another way? ”
فَلَا شَكَّ أَنَّهَا تَرَبَّتْ عَلَى مُمَارَسَةِ ٱلْعِبَادَةِ ٱلْمُنْحَطَّةِ لِآلِهَةِ كَنْعَانَ .‏