Was the creation of the Sarbanes-Oxley bill a necessary step to legislate corporate ethics, along with the burden of regulatory requirements it brings to prove compliance?

Was the creation of the Sarbanes-Oxley bill a necessary step to legislate corporate ethics, along with the burden of regulatory requirements it brings to prove compliance?