I'd say that, generally speaking, we have a moral responsibility not to use any skills we might possess to cause harm to others.
Beyond that, yes. I taught myself to program, and I am still learning. I taught myself to draw and paint, and I am still learning. I taught myself to write fiction, and I am still learning. I learned these skills because I enjoy creating through them, and creating things is what I've found makes my life worth living. I create for fun and for profit (necessary to survive) and, yes, to help others—but if you think you can cast moral aspersions on me or anybody else because we aren't pursuing those three outcomes in a proportion you personally find acceptable, my recommendation for you is to take a step back and get some perspective.
It might not come to you immediately. Likely, you will have to work at it.
Beyond that, yes. I taught myself to program, and I am still learning. I taught myself to draw and paint, and I am still learning. I taught myself to write fiction, and I am still learning. I learned these skills because I enjoy creating through them, and creating things is what I've found makes my life worth living. I create for fun and for profit (necessary to survive) and, yes, to help others—but if you think you can cast moral aspersions on me or anybody else because we aren't pursuing those three outcomes in a proportion you personally find acceptable, my recommendation for you is to take a step back and get some perspective.
It might not come to you immediately. Likely, you will have to work at it.