The scholars say if one knows something was sinful but didn't know it was kufr, he is not excused. Does this apply to someone with waswaas? The whispers call me to do sins that I would otherwise not do, and keeps me in a cycle of anxiety and repentance that influences my ability to make good choices

Ustadh AbdulAziz al-Haqqan
No, focus on healing your condition and refering to medical experts.