In The Stormlight Archive fantasy series by Brandon Sanderson, mental health issues are a significant theme for both characters and sentient swords.
The sentient Shardblades in the series were once spren, traumatized by humans breaking their oaths, leading them to be locked in weapon form due to past traumas.
Prince Adolin forms a bond with his blade, Mayalaran, through conversation, helping her heal and gather other spren to assist him in battles.
Characters like Kaladin use therapy not only for humans but also for sentient swords like Nightblood, teaching them to overcome their destructive tendencies and find their own identity.