Passage
And Joshua adjureth <FI>them<Fi> at that time, saying, `Cursed <FI>is<Fi> the man before Jehovah who raiseth up and hath built this city, <FI>even<Fi> Jericho; in his first-born he doth lay its foundation, and in his youngest he doth set up its doors;'
Nearby Context
Joshua 6:24 And the city they have burnt with fire, and all that <FI>is<Fi> in it; only, the silver and the gold, and the vessels of brass, and of iron, they have given <FI>to<Fi> the treasury of the house of Jehovah;
Joshua 6:25 and Rahab the harlot, and the house of her father, and all whom she hath, hath Joshua kept alive; and she dwelleth in the midst of Israel unto this day, for she hid the messengers whom Joshua sent to spy out Jericho.
Joshua 6:26 And Joshua adjureth <FI>them<Fi> at that time, saying, `Cursed <FI>is<Fi> the man before Jehovah who raiseth up and hath built this city, <FI>even<Fi> Jericho; in his first-born he doth lay its foundation, and in his youngest he doth set up its doors;'
Joshua 6:27 and Jehovah is with Joshua, and his fame is in all the land.
Study Lenses
The verse centers on "joshua", "adjureth", "time", "saying", "cursed", "before", "jehovah", and "raiseth". It is saying that the verse draws attention to "joshua" and "adjureth", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 25's "and Rahab the harlot and the house..." into verse 27's "and Jehovah is with Joshua and his...", so "joshua" and "adjureth" belong inside that flow. In Joshua context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "joshua" and "adjureth" with trust shaped by these words, not by a vague optimism outside the passage.