Jeremiah 17:22
Neither carry forth a burden out of your houses on the sabbath day, neither do ye any work, but hallow ye the sabbath day, as I commanded your fathers. Neither carry forth a burden out of your houses on the sabbath day, neither do ye any work, but hallow ye the sabbath day, as I commanded your fathers.
On the Sabbath no burden is to be carried out of one's house and no work is to be done, but the day is to be hallowed as commanded to the fathers. The charge to take heed, to bear no burden on the Sabbath nor bring it through the gates of Jerusalem, was addressed to Judah and Jerusalem as a warning proclaimed at the city gates, a prophetic warning against violating the Sabbath. It was given after Israel had separated from God and turned away, when the true object of the Sabbath had become less distinct and the people had grown careless in its observance and unmindful of its ordinances.
What is forbidden is ordinary secular burden-bearing and labor done for livelihood or profit, while holy priestly work performed in God's service, with increased sacrificial offerings on the Sabbath, does not break the command. The requirement stands together with the related prohibitions against treading winepresses and bringing in sheaves, loads, wine, grapes, figs, burdens, and food to sell on the Sabbath, testifying to God's displeasure at violation of His Sabbath. By this requirement Sabbath observance is made part of Israel's allegiance to God.
Obedience to this Sabbath instruction was tied to Jerusalem's continued security, so that a faithful Jerusalem would stand, even forever as God's chosen city. Refusal to obey was tied to the city's destruction by fire, and disregard of this admonition brought calamity, persecution, and bondage.