The laws (truths) of classical physics were not invented by Newton; they were discovered. Maxwell’s equations explained electromagnetism — he did not invent those scientific truths or mathematical equations. They are part of reality that he discovered through his research.
Truth is discovered. It is not invented.