Matthew 10:41-42

He who receives a prophet because he is a prophet shall receive a prophet's reward, and he who receives a righteous man because he is a righteous man shall receive a righteous man's reward.

Matthew 25:40

And the King will answer them, 'Truly, I say to you, as you did it to one of the least of these my brethren, you did it to me.'

1 Corinthians 2:7

But we speak of God's secret wisdom, a wisdom that has been hidden and which God destined for our glory before the ages.

1 Corinthians 16:22

If anyone does not love the Lordlet him be accursed. Come, O Lord!

Galatians 3:10

For all who rely on works of the law are under a curse; for it is written, "Cursed is everyone who does not abide by all things written in the book of the law, to do them."

Galatians 3:12

But the Law is not of faith; on the contrary, "He who does them shall live by them."

Hebrews 6:10

For God is not so unjust as to forget your work and the love which you have shown for his sake in serving the saints, as you still do.

Hebrews 11:31

By faith Rahab the harlot did not perish with those who were disobedient, because she had welcomed the spies.

James 2:25

In the same way was not Rahab the harlot also justified by works, when she received the messengers and sent them out by another way?

Treasury of Scripture Knowledge

Summary

And the city shall be accursed, even it, and all that are therein, to the LORD: only Rahab the harlot shall live, she and all that are with her in the house, because she hid the messengers that we sent.

Bible References

Accursed

1 Corinthians 2:7
But we speak of God's secret wisdom, a wisdom that has been hidden and which God destined for our glory before the ages.
1 Corinthians 16:22
If anyone does not love the Lordlet him be accursed. Come, O Lord!
Galatians 3:10
For all who rely on works of the law are under a curse; for it is written, "Cursed is everyone who does not abide by all things written in the book of the law, to do them."

Because

Matthew 10:41
He who receives a prophet because he is a prophet shall receive a prophet's reward, and he who receives a righteous man because he is a righteous man shall receive a righteous man's reward.
Matthew 25:40
And the King will answer them, 'Truly, I say to you, as you did it to one of the least of these my brethren, you did it to me.'
Hebrews 6:10
For God is not so unjust as to forget your work and the love which you have shown for his sake in serving the saints, as you still do.
Hebrews 11:31
By faith Rahab the harlot did not perish with those who were disobedient, because she had welcomed the spies.
James 2:25
In the same way was not Rahab the harlot also justified by works, when she received the messengers and sent them out by another way?