it’s not about actual ethical use when we are talking about software
This deeply misunderstands ethics. All actions are moral choices. Do I understand you correctly that you propose the polar opposite, that no actions are moral choices, with regards to software? I don't expect you'd say it's ethically fine to write software to orchestrate a genocide.