It's extremely unlikely that Emacs would be at fault. Doom, perhaps.
And as everyone else has said, you definitely want to back up and version control your Emacs config. Most of the power in Emacs come from customizing it to your needs, and without it you'll lose much of your workflow.