Everyone who has been involved with singing will recognise the importance of the mental state. It is best to be relaxed, whilst energetic and confident.
If you are confident about your voice and singing, it is obvious you will sing better than if you are nervous and doubting. Yet as with any physical activity there are muscles involved which can also be trained. When both the physical and mental are combined one enhances the other - if you feel confident you sing better, when you sing well you feel confident.