You are not being punished for anything. Your symptoms suggest you are depressed. Depression is a biological problem.
Next Steps
See a professional and start exercising
Health Tips
If you are going through any psychological problems, it’s not your fault