The chapter moves from praise to prayer. It opens with 'In the name of Allah, the Beneficent, the Merciful,' then praises the Lord of the worlds, affirms His mercy and His authority on the Day of Judgment, and then turns to the believer's side: 'You alone we worship and You alone we ask for help.' Finally it asks for guidance: 'Show us the straight path, the path of those whom You have favoured, not of those who earn Your anger nor of those who go astray.'
The Prophet ﷺ reported that Allah says: 'I have divided the prayer between Myself and My servant into two halves, and My servant shall have what he asks.' When the servant says the first verses, Allah says that His servant has praised Him, then that he has extolled Him and then that he has glorified Him. The words 'You alone we worship and You alone we ask for help' are described as shared between Allah and the servant, and the last verses belong to the servant. The Prophet said that a prayer without it is deficient.
The last verse is sometimes misunderstood. Many classical commentators explained 'those who earn Your anger' as those who know the truth and do not act upon it, and 'those who go astray' as those who act without knowledge, and many of them illustrated these with the Jews and the Christians of the Prophet's time. Others, including many modern scholars, stress that it is a general warning to every Muslim against both errors, and not a verdict on any people. The Quran elsewhere says that among the People of the Book there is a staunch community who believe in Allah, pray in the night and do good works.