Are ethical behavior and legal behavior the same?

Are ethical behavior and legal behavior the same?
Aggie80 Law & Legal Issues Supervisor
A business owner who was turned downed for a loan because it was to risky, had his accountant to change his accounting method from cach basis to accrual basis. Which he then applied for a laon with another bank (on the application there was a question that asked if he had been previously rejected for credit and he answered no). Is this business owner displaying ethical behavior or legal behavior and why?