Joshua 2:1 Then Joshua son of Nun secretly sent two spies from Shittim. "Go, look over the land," he said, "especially Jericho." So they went and entered the house of a prostitute named Rahab and stayed there.
Chapter 2 of Joshua introduces us to Rahab, but here is some background: Moses is dead, and Joshua is now leading the Israelites into the promised land. What does that mean exactly? God had made a promise that the Israelites would be given every place where they set their foot (see Joshua 1:3 - for the reiteration). If we were to look back, we can see that these people have had a time of it. Yet, while obeying God, they are able to make it through. God made it very clear that they either follow what Joshua says (because he is listening to God) or be put to death.
In verse 1 we see Joshua giving the command for two of his men to go into the next land - Jericho. They are doing surveillance work. Scoping out the battlefield. Here's the thing - God has promised them every land they set foot on, yet they still have to set up and prepare and actually go into battle - with God's call to be "strong and courageous". Joshua 1:18. These men do not stop and say "Joshua, God has already promised us this land, do we HAVE to go check it out? He's gonna give it to us anyway and we're kinda tired from all the walking." No, they do as they are told, they put in the work.
Aren't we like that today? God has promised us that He is preparing a place for us and that one day, our enemies will be gone and we will have joy everlasting - that does not mean we can slack off while we're still here on earth. We still have a job to do, God is still in control - no matter the situation - and He calls us to be Strong and Courageous! Along our journey of life, doing what we are called to do - we will be blessed by the people we meet from all walks of life - just like they were blessed when they met the unlikely: Rahab. . .