When the previous verses revealed some of the hypocrites who...
When the previous verses revealed some of the hypocrites who were anxious of their social position among Muslim, came to the prophet and swore by Allah their strongest oath, saying:ِ ``They would obey and follow the prophet's commands by all means; but in fact they were liars because they had not the light of faith and truth in their hearts.'' Idle swear, when you believe not in the sworn, will have not the least value.
Instead of boastings, supported by strong oath, you better have your mouth closed and open your hands. Instead of claiming we better be up and doing:ِ ``....Tell them don't swear. Reasonable obedience will do; because Allah is aware of whatever you do.'' Of course, things are to be done by Man with his Free Will. No one forces us to obey God's order and religious commandments which have been explained to us by His apostles.
The mission of the Messenger of God is only to convey and explain clearly whatever of Message he has received from our Lord. Therefore the responsibility for our conduct rests entirely upon ourselves, and we have to taste the reaction of our actions.
AND THAT HE WILL ESTABLISH FOR THEM, THEIR RELIGION WHICH HE HAS CHOSEN FOR THEM. AND THAT HE WILL CHANGE THEIR FEAR TO SECURITY, SO AS TO WORSHIP ME AND DO NOT ASSOCIATE WITH ME ANYTHING. AND HE WHO DISBELIEVED AFTER THAT, THEN THEY ARE THE DEBAUCHERS. THE COMMENTARY OCCASION OF THE REVELATION VERSE NO.55 Almost all the commentators have narrated that, when Muslims emigrated to Medina from Mecca, all the Arabs raised against them, except some who lived in Medina.
So the believers lived in a state of anxiety and fear, so much so that they could not leave aside their arms even when they wanted to sleep. They were asking one another that how long could that awful and uneasy situation last? Then the above verse revealed to console and encourage them, and to inspire them with the hope for a good future.