ثُمَّ الْكُتُبُ قَدْ نُسِخَتْ بِالْقُرْآنِ
Then the earlier books were superseded by the Qur'an.
Supersession (naskh) here marks the arrival of the final divine guidance for the community of Muhammad ﷺ, so that earlier scriptures do not retain an independent, overriding legislative status. It concerns the later authority of practices and rulings, not whether the original revelation came from God.
A directive could have been valid for its original community and time yet no longer govern the later community. Naskh must not be confused with declaring the former divine message false.