On Writing, Even When You Falter [Q&A]

At times I do lose faith in writing, but it is more driven by negative inputs from people around. These inputs maybe like: What do you earn out of writing? Is it your bread and butter? You are rejected by so many publishers (despite not asking about any payment), so what’s the fun in doing something where you only get rejections? Can you earn a living out of writing? Who will take care of family and daily life needs?