Nehemiah 13:17 Then I contended with the nobles of Judah, and said to them, “What evil thing is this that you do, by which you profane the Sabbath day?
When the people from Tyre brought all manner of foods to the people of Judah and Jerusalem on the Sabbath day, Nehemiah went to the local leaders not to Tyre.
The local people had the choice of whether they bought from the traders on the Sabbath or whether they abstained and kept the Sabbath holy.
We do have a choice as to when and what we do to glorify God. It is our choice. God is going to look to us to find out what we are doing, not to all the tempters around us.