Vayikra13:46

כָּל־יְמֵי אֲשֶׁר הַנֶּגַע בּוֹ יִטְמָא טָמֵא הוּא בָּדָד יֵשֵׁב מִחוּץ לַמַּחֲנֶה מוֹשָׁבוֹ׃

All the days that the affliction is on him he shall be impure, he is impure. He shall dwell alone, his dwelling shall be outside the camp.

Vayikra 13:46

כָּל־יְמֵי אֲשֶׁר הַנֶּגַע

Vayikra / Leviticus 13:46 · Pshat

Vayikra 13:46

כָּל־יְמֵי אֲשֶׁר הַנֶּגַע בּוֹ יִטְמָא טָמֵא הוּא בָּדָד יֵשֵׁב מִחוּץ לַמַּחֲנֶה מוֹשָׁבוֹ׃

All the days that the affliction is on him he shall be impure, he is impure. He shall dwell alone, his dwelling shall be outside the camp.

Pshat פְּשָׁט

Alone, outside the camp

Loneliness can be a punishment, and it can be a cure. Sometimes a person needs to be alone to understand what he has done to others.

Rashi: the leper dwells alone, even apart from other impure people, and outside all three camps. Why stricter than the others? By his evil speech he separated husband from wife and friend from friend, so he himself is separated. Netziv adds: even if he keeps all the laws strictly, this does not yet prove he has changed. As long as the affliction is on him, he is impure.

How Rashi and Haamek Davar explain it

Rashi He shall dwell alone

So that other impure people do not dwell with him. Our teachers said: how is he different from other impure people, that he must dwell alone? Because by his evil speech he separated a husband from his wife and a man from his fellow, so he too shall be separated.

Rashi Outside the camp

Outside all three camps.

Haamek Davar All the days that the affliction is on him he shall be impure

So that we do not say: since he keeps the laws of leprosy as he should, it seems he has returned to the Eternal, and now one may come close to him. So Scripture explained that this is no proof, as it says in the tractate Sanhedrin (end of the third chapter): the deeds of a penitent are no proof, perhaps he is scheming. So: all the days that the affliction is on him, this is a sign that he is impure.

Takeaway

Three camps in the desert: the camp of the Shechinah (the Mishkan), the camp of the Levites around it, and the camp of Israel. Other impure people left only one or two.
Evil speech (לָשׁוֹן הָרָע) is telling bad things about another person, even true ones.
The affliction itself speaks of the person's state: while it is on him, outward obedience does not yet mean he has changed inside.