This knowledge enables to us predict, within its limits, the results of our actions. Human Law is invented and agreed-on by people so that we can have reasonable security to do what we want. Some thinkers have said that God teaches us the basis of this kind of Law. Still others believe that human law, and all other forms of culture, are entirely human-made. I am not aware of any reason to think that natural laws are either benevolent or malevolent toward us, and the image of a clockwork universe is familiar from classic philosophy.
Science has the powerful indirect effect of improving human health and opportunity.
Science makes it much easier to make good decisions, and generally gives its practitioners a social conscience. But the study of nature is morally neutral, and the business of science itself is both political and tedious. Human-made law is by itself also morally neutral. Experience shows that genuine democracy results in the greatest human good. From time to time, people forget why they have made laws, and keep them for their own sake, out of habit or for minority group identity.