فَخَلَفَ مِن بَعْدِهِمْ خَلْفٌ أَضَاعُوا الصَّلَاةَ وَاتَّبَعُوا الشَّهَوَاتِ ۖ فَسَوْفَ يَلْقَوْنَ غَيًّا
Then there came after them those degenerate people, who lost their Salat and followed their lusts: so they shall soon encounter the consequences of their deviation.
It appears that the degenerate people totally discarded Salat, or they had become neglectful and careless in its observance. This is the first evil that is committed by a degenerate people; for, after this there
remains no connection whatever between them and God. Here it has been stated as a universal principle that the degeneration of the people of all the former Prophets started with the abandonment of Salat by them.
This was the inevitable result of the loss of the connection with Allah. As they became more and more neglectful of their Salat, their lusts took complete hold of them and they fell to the lowest depths of moral depravity and began to follow their whims instead of the Divine Commands.
إِلَّا مَن تَابَ وَآمَنَ وَعَمِلَ صَالِحًا فَأُولَٰئِكَ يَدْخُلُونَ الْجَنَّةَ وَلَا يُظْلَمُونَ شَيْئًا
However; those, who repent and believe and do righteous deeds, will enter the Garden and they will not be wronged in the least.