No, IMO Nixon resigned because he knew he didn’t have the support to keep him from being removed after impeachment, unlike Clinton who knew he was still popular enough to avoid removal, otherwise Clinton would also have resigned.
I think it shows Nixon was too ethical. Clinton proved that if you simply ignored and fought the allegations, the Senate would not convict.