Joshua
Joshua 2:8ESV·traditional attribution

Before the men lay down, she came up to them on the roof

Matthew Henry Presbyterian @wholebiblehenry

The matter is here settled between Rahab and the spies respecting the service she was now to do for them, and the favour they were afterwards to show to her. She secures them on condition that they should secure her. I. She gives them, and by them sends to Joshua and Israel, all the encouragement that could be desired to make their intended descent upon Canaan.

Commenting on Joshua 2:8-21

John Gill Reformed Baptist @doctorgill

And before they were laid down,.... Under the stalks of the flax; or rather, since they are said to be hid in them, before they were fallen asleep, so Kimchi and Abarbinel: she came up unto them upon the roof; to acquaint them how things were, and to converse with them on the following subjects.

Jamieson-Fausset-Brown Reformed @jfbcommentary

THE COVENANT BETWEEN HER AND THEM. (Jos 2:8-21) she came up unto them upon the roof and said--Rahab's dialogue is full of interest, as showing the universal panic and consternation of the Canaanites on the one hand (Jos 24:11; Deu 2:25), and her strong convictions on the other, founded on a knowledge of the divine promise, and the stupendous miracles that had opened the way...

Commenting on Joshua 2:8-21