Hamartophobia
Hamartophobia can be assigned to the specific anxiety disorders and describes the pathological fear of committing sins, sinning or doing something wrong. The Hamartenia is a hexametric poem by the poet Aurelius Prudentius Clemens. This describes that the ugly or evil in nature brought forth the devil. In the Bible, hamartia is the most commonly used word for sin.
Hamartophobia: hamarto = sin; phobos = fear.