وَمَا كَانَ اللَّهُ لِيَظْلِمَهُمْ وَلَٰكِنْ كَانُوا أَنْفُسَهُمْ يَظْلِمُونَ
God did not wrong them; rather, they were wronging themselves.
The opening denies wrongdoing on God's part. After lākin kānū anfusahum, the statement turns toward the people's responsibility for their own wrongdoing. The listener can therefore anticipate yaẓlimūn at the close.
The figure is supported by the earlier mention of injustice and the carefully organized shift in attribution. Describing the verse as simple repetition would miss the way the ending is prepared.