"[And they have been guided to the goodly word]" – it is: There is no god but God. "[And they have been guided]" – that is: in the worldly life – "[to the path of the Praiseworthy]" – and He is God.
﴿وَهُدُوا إِلَى الطَّيِّبِ مِنَ الْقَوْلِ﴾ هُوَ لَا إِلَهَ إِلَّا اللَّهُ ﴿وهدوا﴾ أَيْ: فِي الدُّنْيَا ﴿إِلَى صِرَاطِ الحميد﴾ وَهُوَ الله.