"Thus has the word of your Lord been justified," meaning: His decree has preceded (against those who disobeyed).
﴿كَذَلِك حقت كَلِمَات رَبك﴾ أَيْ: سَبَقَ قَضَاؤُهُ (عَلَى الَّذِينَ فسقوا