Translation:
7. And know that among you is Allah's Apostle: were he in many matters to follow your (wishes) ye would certainly fall into misfortune: but Allah has endeared the Faith to you and has made it beautiful in your hearts and He has made hateful to you unbelief wickedness and rebellion: such indeed are those who walk in righteousness
Notes (Tafseer)
4925. The messenger of Allah, if he consults his friends and associates, should not be expected to follow their advice in all matters. The judgment and responsibility are his: he sees farther than the rest, and he is not swayed by personal feeling as others may be.
4926. Fortunate indeed was the generation among whom the Prophet of Allah walked in his daily life. His example was inspiring. Their inner Faith was dear to them; it was a thing to be proud of in their innermost hearts; and they loved discipline, obedience, and righteousness. No wonder all their other disadvantages were neutralised, and they went from strength to strength. Nothing but the Grace of Allah could have brought about such a result.