If you are feeling guilt you should talk to your manager. It’s part of their job to give you feedback.
If someone is having mental health, emotional or personal issues they should not look to solve those issues through their workplace and instead keep their personal life as partitioned as possible from their professional life.
I totally agree with the parent poster - keep personal life personal. I never mention anything personal to anyone at work.
In this case, we're not even talking about personal issues, but guilt at work. If your manager can't help you with that, he shouldn't be a manager.