Matthew 10:41-42

He that receives a prophet in the name of a prophet shall receive a prophet's reward; and he that receives a righteous man in the name of a righteous man shall receive a righteous man's reward.

Matthew 25:40

"And, answering, the King will say to them, 'Verily I say to you, inasmuch as ye did it to one of My brethren, even the least, ye did it to Me.'

1 Corinthians 2:7

but we speak God's wisdom in a mystery??he hidden wisdom??hich God predestined before the ages for our glory;

1 Corinthians 16:22

If anyone loves not the Lord, let him be accursed, when the Lord cometh!

Galatians 3:10

For as many as are of works of law are under a curse; for it has been written, "Cursed is every one who continues not in all the things written in the book of the law, to do them."

Galatians 3:12

Now the law is not of faith; but "He who did them shall live in them."

Hebrews 6:10

for God is not unrighteous to forget your work, and the love which ye showed toward His name, in having ministered to the saints, and still ministering.

Hebrews 11:31

By faith Rahab the harlot did not perish with those who disbelieved; having received the spies with peace.

James 2:25

And, in like manner, was not also Rahab the harlot 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 God's wisdom in a mystery??he hidden wisdom??hich God predestined before the ages for our glory;
1 Corinthians 16:22
If anyone loves not the Lord, let him be accursed, when the Lord cometh!
Galatians 3:10
For as many as are of works of law are under a curse; for it has been written, "Cursed is every one who continues not in all the things written in the book of the law, to do them."

Because

Matthew 10:41
He that receives a prophet in the name of a prophet shall receive a prophet's reward; and he that receives a righteous man in the name of a righteous man shall receive a righteous man's reward.
Matthew 25:40
"And, answering, the King will say to them, 'Verily I say to you, inasmuch as ye did it to one of My brethren, even the least, ye did it to Me.'
Hebrews 6:10
for God is not unrighteous to forget your work, and the love which ye showed toward His name, in having ministered to the saints, and still ministering.
Hebrews 11:31
By faith Rahab the harlot did not perish with those who disbelieved; having received the spies with peace.
James 2:25
And, in like manner, was not also Rahab the harlot justified by works, when she received the messengers, and sent them out by another way?