Now prior to this, Eliashib the priest, who was appointed over the chambers of the house of our God, being related to Tobiah, had prepared a large room for him, where formerly they put the grain offerings, the frankincense, the utensils and the tithes of grain, wine and oil prescribed for the Levites, the singers and the gatekeepers, and the contributions for the priests. But during all this time I was not in Jerusalem, for in the thirty-second year of Artaxerxes king of Babylon I had gone to the king. After some time, however, I asked leave from the king, and I came to Jerusalem and learned about the evil that Eliashib had done for Tobiah, by preparing a room for him in the courts of the house of God. It was very displeasing to me, so I threw all of Tobiah’s household goods out of the room. Then I gave an order and they cleansed the rooms; and I returned there the utensils of the house of God with the grain offerings and the frankincense. I also discovered that the portions of the Levites had not been given them, so that the Levites and the singers who performed the service had gone away, each to his own field. So I reprimanded the officials and said, “Why is the house of God forsaken?” Then I gathered them together and restored them to their posts.
— Nehemiah 13:4-11
In charge of the storehouses I appointed Shelemiah the priest, Zadok the scribe, and Pedaiah of the Levites, and in addition to them was Hanan the son of Zaccur, the son of Mattaniah; for they were considered reliable, and it was their task to distribute to their kinsmen. Remember me for this, O my God, and do not blot out my loyal deeds which I have performed for the house of my God and its services.
— Nehemiah 13:13-14
At that time I saw people in Judah treading winepresses on the Sabbath. They were also bringing in stores of grain and loading them on donkeys, along with wine, grapes, and figs. All kinds of goods were being brought to Jerusalem on the Sabbath day. So I warned them against selling food on that day.  The Tyrians living there were importing fish and all kinds of merchandise and selling them on the Sabbath to the people of Judah in Jerusalem.  I rebuked the nobles of Judah and said to them: “What is this evil you are doing—profaning the Sabbath day?  Didn’t your ancestors do the same, so that our God brought all this disaster on us and on this city? And now you are rekindling his anger against Israel by profaning the Sabbath!”  When shadows began to fall on the city gates of Jerusalem just before the Sabbath, I gave orders that the city gates be closed and not opened until after the Sabbath. I posted some of my men at the gates, so that no goods could enter during the Sabbath day.  Once or twice the merchants and those who sell all kinds of goods camped outside Jerusalem,  but I warned them, “Why are you camping in front of the wall? If you do it again, I’ll use force against you.” After that they did not come again on the Sabbath.  Then I instructed the Levites to purify themselves and guard the city gates in order to keep the Sabbath day holy. Remember me for this also, my God, and look on me with compassion according to the abundance of your faithful love.  In those days I also saw Jews who had married women from Ashdod, Ammon, and Moab.  Half of their children spoke the language of Ashdod or the language of one of the other peoples but could not speak Hebrew.  I rebuked them, cursed them, beat some of their men, and pulled out their hair. I forced them to take an oath before God and said, “You must not give your daughters in marriage to their sons or take their daughters as wives for your sons or yourselves!  Didn’t King Solomon of Israel sin in matters like this? There was not a king like him among many nations. He was loved by his God, and God made him king over all Israel, yet foreign women drew him into sin.  Why then should we hear about you doing all this terrible evil and acting unfaithfully against our God by marrying foreign women?”  Even one of the sons of Jehoiada, son of the high priest Eliashib, had become a son-in-law to Sanballat the Horonite. So I drove him away from me.  Remember them, my God, for defiling the priesthood as well as the covenant of the priesthood and the Levites.  So I purified them from everything foreign and assigned specific duties to each of the priests and Levites.  I also arranged for the donation of wood at the appointed times and for the firstfruits. Remember me, my God, with favor.
— Nehemiah 13:15-31 CSB