This line of scarlet thread - השני חוט תקות tikvath chut hashshani . Probably this may mean, this piece of scarlet cloth, or, this cloth (made) of scarlet thread. When the Israelites took the city this piece of red cloth seems to have been hung out of the window by way of flag; and this was the sign on which she and the spies had agreed.
The “line” or cord was spun of threads dyed with cochineal: i. e., of a deep and bright scarlet color. The color would catch the eye at once, and supplied an obvious token by which the house of Rahab might be distinguished. The use of scarlet in the Levitical rites, especially in those more closely connected with the idea of putting away of sin and its consequences (compare e. g., Leviticus 14:4, Leviticus 14:6, Leviticus 14:51; Numbers 19:6), naturally led the fathers, from Clement of Rome onward, to see in this scarlet thread, no less than in the blood of the Passover (Exodus 12:7, Exodus 12:13, etc.), an emblem of salvation by the Blood of Christ; a salvation common alike to Christ‘s messengers and to those whom they visit.