The story of Joshua’s conquest of the Promised Land is full of such moments, a rollercoaster of triumph and tragedy, and it all starts with Jericho.

Imagine this: Joshua, leading the Israelites after Moses' death, stands before the mighty walls of Jericho. And what a victory it was! A miraculous capture, the very first major conquest in this new land. But here's where it gets interesting. The entire city was declared anathema – set apart, devoted to destruction, a concept called herem in Hebrew. Why? Because, according to some accounts, this incredible feat happened on the Shabbat, the Sabbath.

Now, you might be thinking, isn't working on the Sabbath forbidden? Well, Joshua reasoned that since the Sabbath is holy, what is won on the Sabbath must also be holy, consecrated to God. A fascinating interpretation, isn’t it? The spoils, the city itself, were considered off-limits, dedicated.

But this dazzling victory was soon followed by a crushing defeat at Ai. Can you feel the whiplash? One moment, divine favor, the next, utter loss. The text tells us that in this battle, Jair, the son of Manasseh, perished, a loss so significant it was compared to the destruction of most of the Sanhedrin, the Jewish high court! A heavy blow indeed.

So, what went wrong? Why this sudden reversal of fortune? Joshua, understandably desperate, sought answers. And it was revealed that the defeat was a direct consequence of the Israelites’ sin, specifically the actions of a man named Achan.

Achan, we learn, had taken forbidden spoils from Jericho. He’d laid hands on things that had been declared anathema, violating the sacred trust. The text paints him as a hardened transgressor, a criminal even before the crossing of the Jordan River. According to Ginzberg's retelling in Legends of the Jews, he had a history of appropriating things declared herem and committing other capital offenses.

Now, here's a crucial point: before the Israelites became a unified nation by crossing the Jordan, Achan's sins didn’t immediately impact everyone. But when he stole an idol and all its associated items from Jericho, the repercussions were swift and severe. As we find in Midrash Rabbah, the misfortune at Ai followed almost immediately. It's a powerful illustration of collective responsibility, the idea that the actions of one person can affect the entire community.

This story isn't just about battles and spoils. It's about the delicate balance between victory and defeat, obedience and transgression, individual actions and communal consequences. It makes you wonder: How often do we, individually or collectively, unknowingly invite misfortune through our choices? And how do we ensure that our triumphs are truly built on a foundation of integrity?