A man who allegedly stabbed a victim twice in the neck in Devizes town centre blames his actions on the 'voice of God', a court has been told.