17 So I confronted the nobles of Judah. “Why are you profaning the Sabbath in this evil way?” I asked.
18 “Wasn’t it just this sort of thing that your ancestors did that caused our God to bring all this trouble upon us and our city? Now you are bringing even more wrath upon Israel by permitting the Sabbath to be desecrated in this way!”
19 Then I commanded that the gates of Jerusalem should be shut as darkness fell every Friday evening, not to be opened until the Sabbath ended. I sent some of my own servants to guard the gates so that no merchandise could be brought in on the Sabbath day.
20 The merchants and tradesmen with a variety of wares camped outside Jerusalem once or twice.
21 But I spoke sharply to them and said, “What are you doing out here, camping around the wall? If you do this again, I will arrest you!” And that was the last time they came on the Sabbath.
22 Then I commanded the Levites to purify themselves and to guard the gates in order to preserve the holiness of the Sabbath.Remember this good deed also, O my God! Have compassion on me according to your great and unfailing love.
23 About the same time I realized that some of the men of Judah had married women from Ashdod, Ammon, and Moab.