нѣсмъ (Old Church Slavonic) comes from Old Church Slavonic не, from Proto-Slavic ne, from Proto-Balto-Slavic nē, from Proto-Indo-European né — not; no.
нѣсмъ traces back through two separate lines of ancestry.