Matthew 10:41-42

The one receiving a prophet in the name of a prophet shall receive the reward of a prophet; and the one receiving a righteous man in the name of a righteous man shall receive the reward of a righteous man.

Matthew 25:40

And the King responding will say unto them, Truly I say unto you, Inasmuch as ye did these things to one of the least of these my brethren, you did them unto me.

1 Corinthians 2:7

but we speak the wisdom of God having been hidden in a mystery, which God predestinated before the ages unto our glory:

1 Corinthians 16:22

If any one loves not the Lord as a friend, let him be anathema Maran atha.

Galatians 3:10

For so many as are of works of law are under the curse: for it is written, Cursed is every one who does not abide in all things which have been written in the book of the law, to do the same.

Galatians 3:12

though the law is not of faith; but the one having done these things shall live in them.

Hebrews 6:10

For God is not unrighteous to forget your work and the divine love which you manifested in his name, having ministered to the saints, and ministering.

Hebrews 11:31

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

James 2:25

And likewise also was not Rahab the harlot justified by works, having received the spies, 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 the wisdom of God having been hidden in a mystery, which God predestinated before the ages unto our glory:
1 Corinthians 16:22
If any one loves not the Lord as a friend, let him be anathema Maran atha.
Galatians 3:10
For so many as are of works of law are under the curse: for it is written, Cursed is every one who does not abide in all things which have been written in the book of the law, to do the same.

Because

Matthew 10:41
The one receiving a prophet in the name of a prophet shall receive the reward of a prophet; and the one receiving a righteous man in the name of a righteous man shall receive the reward of a righteous man.
Matthew 25:40
And the King responding will say unto them, Truly I say unto you, Inasmuch as ye did these things to one of the least of these my brethren, you did them unto me.
Hebrews 6:10
For God is not unrighteous to forget your work and the divine love which you manifested in his name, having ministered to the saints, and ministering.
Hebrews 11:31
By faith Rahab the harlot perished not with the unbelievers, having received the spies with peace.
James 2:25
And likewise also was not Rahab the harlot justified by works, having received the spies, and sent them out by another way?