Torah Temimah cites Shevuos 31b.
Rather, this is the reason of the Sages — they derive it by a kal va-chomer: if one is liable when others administer the oath, all the more so when he swears of his own accord.
A self-imposed oath of testimony that is false generates the same liability as an oath administered by others.
Category A — Formal traditional Middah
Traditional list — Rabbi Yishmael’s 13 Middos.
Middah #1 — Kal va-Chomer (a fortiori inference).
Textual application — The Rabbis infer that an oath a person takes upon himself can create liability at least as strongly as an oath imposed on him by others: if liability applies when the oath is administered by others, how much more so when he swears on his own.
Textual trigger — “וּמָה מִפִּי אֲחֵרִים חַיָּיב, מִפִּי עַצְמוֹ לֹא כׇּל שֶׁכֵּן?!” (Shevuos 31b).
This is Rabbi Yishmael’s first Middah, Kal va-Chomer.