It is true that habits can be an important factor in why someone does something, but it is overly simplistic and wrong to suggest that this is the only reason why people do anything. In reality, the answer to why people do things is much more complex and varied.

Firstly, people may do something out of necessity. If someone is in need of food, for example, they may do whatever is necessary to provide sustenance for themselves, such as working a job or panhandling. In this case, the person is unlikely to be motivated by habit and more likely to be driven by an immediate need.

On the other hand, people may also do something out of curiosity or ambition. Someone may take up a hobby, for example, because they are interested in learning something new and challenging themselves. Similarly, someone may pursue a career path because they are motivated to reach a certain level of success. In both of these cases, the motivation is unlikely to be habit and more likely to be driven by a desire for knowledge or achievement.

Finally, people may do something out of a sense of responsibility or obligation. For example, someone may volunteer at a charity or do a job for someone out of a sense of moral obligation or duty. Again, this is unlikely to be motivated by habit and more likely to be driven by a personal value or belief system.

In conclusion, while habits can be a factor in why someone does something, it is wrong to suggest that this is the only reason why people do anything. People may also do something out of necessity, curiosity or ambition, or a sense of responsibility or obligation.