When taking on a job seeking what makes you interested about it before starting will create a better outcome.
When your down and out, going back to the start to see why you began in the first place is revitalizing.
In a team, a leader should cater to the interests of their team to create a sustainable excitement about a project to create excellent work.
If something is not working and you can not get into a project, put it down for awhile. When you come back see if you have regained intreats, If you have not then find a project that inspires you. You would not force yourself through a bad movie so don't force yourself through hell.
Bottom line is pursue your interests. Be genuine with yourself and take on projects because you love them not because they might get you a job or might impress someone else. You only get one life find something you love and pursue that and find out how to get paid for it later.