Overall meaning :
Allah, Glorified be He, proclaims that whoever comes on the Day of Resurrection with good deeds will receive a tenfold reward for them, at the very least, and that whoever comes with evil deeds will be punished only for the evil deeds they have committed and that none will be treated unjustly or wronged in the least.
Then He instructs His Prophet to declare, saying: My Lord has guided me to a clear and straight path, the ever-true and moderate religion, the pure faith of Abraham, peace be upon him, who adhered to the path of truth and never inclined towards the paths of error, and was never of those who associate partners with Him.
Say, Muhammad: My prayers, my ritual sacrifice, my life and my death are all for Allah, the Lord of all the worlds, who alone is deserving of worship. Thus have I been commanded, and I am the first and foremost of the Muslims to submit to Him.
Say to them: Should I seek a lord other than Allah when He is the Lord and Creator of all things and the disposer of all affairs? Each person will bear the consequences of his own evil deeds, and no one will bear the burden of another, for everyone will be responsible for his actions. All people will then be returned to Allah on Judgement Day, and He will inform them about what they have differed and distinguish the guided from the misguided, and according to their deeds, accordingly He will repay.
And it is He who has brought you forth after destroying nations before you and has made you succeed one another on earth, generation after generation, and has raised some of you in rank above others so that He may try you in whatever bounties He has bestowed upon you and see how you act and conduct yourselves. Surely your Lord is swift in retribution; yet He is All-Forgiving, All-Merciful.