Matthew 10:41-42

He that receiveth a prophet as a prophet, shall have a prophet's reward: and he that receiveth a righteous man as such, shall receive a righteous man's reward.

Matthew 25:40

And the king replying will say unto them, Verily I declare unto you, inasmuch as ye did it to one of the lest of these my brethren, ye did it to me.

1 Corinthians 2:7

But we speak the wisdom of God in a mystery, that hidden wisdom which God ordained before the worlds for our glory:

1 Corinthians 16:22

If any one love not the Lord Jesus Christ, let him be made a curse.

Galatians 3:10

For as many as are of the works of the law, are under the curse; for it is written, Cursed be every one that continueth not in all things which are written in the book of the law, to do them.

Galatians 3:12

now the law is not of faith, but saith, "The man that doth them, shall live in them."

Hebrews 6:10

For God is not unjust to forget your work and labor of love, which ye have shewn to his name, by having ministred to the saints, and yet ministring.

Hebrews 11:31

By faith Rahab the harlot perished not with the unbelievers, having received the spies with peace.

James 2:25

And in like manner also was not the harlot Rahab justified by works, when she entertained the spies, and let them out 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 the wisdom of God in a mystery, that hidden wisdom which God ordained before the worlds for our glory:
1 Corinthians 16:22
If any one love not the Lord Jesus Christ, let him be made a curse.
Galatians 3:10
For as many as are of the works of the law, are under the curse; for it is written, Cursed be every one that continueth not in all things which are written in the book of the law, to do them.

Because

Matthew 10:41
He that receiveth a prophet as a prophet, shall have a prophet's reward: and he that receiveth a righteous man as such, shall receive a righteous man's reward.
Matthew 25:40
And the king replying will say unto them, Verily I declare unto you, inasmuch as ye did it to one of the lest of these my brethren, ye did it to me.
Hebrews 6:10
For God is not unjust to forget your work and labor of love, which ye have shewn to his name, by having ministred to the saints, and yet ministring.
Hebrews 11:31
By faith Rahab the harlot perished not with the unbelievers, having received the spies with peace.
James 2:25
And in like manner also was not the harlot Rahab justified by works, when she entertained the spies, and let them out another way?