Hadn't
He wishes the accident
hadn't
happened.
If you
hadn't
had advice, you'd have failed.
If you
hadn't
had my advice, you would have failed.