כל מצוות שבתורה בין עשה בין לא תעשה עבר אדם על אחת מהן בין בזדון בין בשגגה כשיעשה תשובה וישוב מחטאו חייב להתוודות לפני האל ברוך הוא. והרמב"ם
quotes the pasuk, he establishes the chiyuv shel vidui, then the הרמב"ם continues: וכן בעלי חטאות ואשמות בעת שמביאין קרבנותיהן על שגגתן או על זדונן אין מתכפר להם בקרבנם עד שיעשו תשובה ויתוודו וידוי דברים שנאמר והתוודו אשר חטא עליה. וכן כל מחוייבי מיתות בית דין מחוייבי מלקות אין מתכפר להם במיתתם או בלקיותם עד שיעשו תשובה ויתוודו.
So there's something seemingly incongruous here. The הרמב"ם begins in the reisha of the halacha, he says כשיעשה תשובה וישוב מחטאו, zeh chiyuv l'hisvados, right? Chayiv l'hisvados. Then the הרמב"ם says v'chein, so v'chein means similarly, the same, the same din, the same halacha is ba'alei chatos v'ashamos. אין מתכפר להם בקרבנם עד שיעשו תשובה ויתוודו וידוי דברים.
Here the הרמב"ם talks about how the fact that vidui is me'akev in terms of kaparah. So the reisha of the halacha is that there's a chiyuv vidui, the seifa of the halacha is that vidui is me'akev in kaparah. But the הרמב"ם doesn't see any daylight between them, right? The הרמב"ם connects them with a v'chein. So the pshattus is that what you see from the הרמב"ם is as follows: Chazal refer to vidui as kaparas devarim. וכיפר בעדו ובעד ביתו בכפרת דברים הכתוב מדבר. That the chiyuv l'hisvados is a chiyuv l'hiskaper. It's not just that vidui is necessary for kaparah, but that gufa, the chiyuv l'hisvados is a chiyuv l'hiskaper to seek and to gain the kaparah. So then mimeila, that's what the הרמב"ם taught us in the reisha, chayiv l'hisvados means חייב להתכפר על ידי וידוי, so v'chein, ba'alei chatos v'ashamos also have to be מתכפר על ידי וידוי.