קדש = דת
In Parshas Emor, Hashem tells Moshe to speak to the Jewish people about the festivals, and the list opens with Shabbos: six days work may be done, “וּבַיּ֣וֹם הַשְּׁבִיעִ֗י שַׁבַּ֤ת שַׁבָּתוֹן֙ מִקְרָא־קֹ֔דֶשׁ, and on the seventh day a Shabbos of rest, a holy convocation.”
The Torah calls Shabbos “מִקְרָא־קֹ֔דֶשׁ, a holy convocation.” Siftei Kohen says this means its days are designated for holiness, the World to Come, the world that is entirely Shabbos. He reads “שַׁבַּ֤ת שַׁבָּתוֹן֙, a Shabbos of rest,” as the Shabbos of this world and the Shabbos of the World to Come, and there it is “a holy convocation,” prepared for holiness, where they enjoy the radiance of the Shechina, the Divine Presence, which is holiness.
קדש equals דת, he says, linking holiness to the “אֵ֥שׁ דָּ֖ת, fiery law,” and he cites “כִּ֚י יְהֹוָ֣ה אֱלֹהֶ֔יךָ אֵ֥שׁ אֹכְלָ֖ה ה֑וּא, for Hashem your G-d is a consuming fire.” That is why the verse says “כׇּל־מְלָאכָ֖ה לֹ֣א תַעֲשׂ֑וּ, all work you shall not do,” and not “ולא תעשו כל מלאכה, you shall not do any work”: the second is speech addressed to bodies, the first is addressed to souls. There, there is no eating and no drinking, no toil and no effort, only Shabbos to Hashem.
Siftei Kohen: a commentary on the Torah full of gematria and remez, by Rabbi Mordechai HaKohen of Tzfas, 16th century.
In Tanach
First appearance of קדש
וַ֠יָּשֻׁ֠בוּ וַיָּבֹ֜אוּ אֶל־עֵ֤ין מִשְׁפָּט֙ הִ֣וא קָדֵ֔שׁ וַיַּכּ֕וּ אֶֽת־כׇּל־שְׂדֵ֖ה הָעֲמָלֵקִ֑י וְגַם֙ אֶת־הָ֣אֱמֹרִ֔י הַיֹּשֵׁ֖ב בְּחַֽצְצֹ֥ן תָּמָֽר׃