Tafsir Ibn Kathir -> Surah Fussilat -> The intimate Companions of the Idolators make Evil Actions attractive to Them Allah tells us that He is the One Who sends the idolators astray, and that this happens by His will and decree. He is the All-Wise in His actions, when He appoints for them close companions from among the devils of men and Jinn.

﴿فَزَيَّنُواْ لَهُم مَّا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ﴾

(who have made fair seeming to them, what was before them and what was behind them.) means, they made their deeds attractive to them in the past. As far as the future is concerned, they only see themselves as doing good, as Allah says:

﴿وَمَن يَعْشُ عَن ذِكْرِ الرَّحْمَـنِ نُقَيِّضْ لَهُ شَيْطَاناً فَهُوَ لَهُ قَرِينٌ - وَإِنَّهُمْ لَيَصُدُّونَهُمْ عَنِ السَّبِيلِ وَيَحْسَبُونَ أَنَّهُم مُّهْتَدُونَ ﴾

(And whosoever turns away blindly from the remembrance of the Most Gracious, We appoint for him a Shaytan to be a companion for him. And verily, they hinder them from the path, but they think that they are guided aright!) (43:36-37)

﴿وَحَقَّ عَلَيْهِمُ الْقَوْلُ﴾

(And the Word is justified against them) means, the Word of torment, just as it was justified against the nations of the past who did what they did, men and Jinn alike.

﴿إِنَّهُمْ كَانُواْ خَـسِرِينَ﴾

(Indeed they (all) were the losers.) means, they are all equal in terms of loss and being doomed.