An Al Bundy line, IIRC.
Certainly Al meant it and generally reaped to the rewards of his general outlook on life.😁
I first heard it from one of my great uncles in the ‘70s, long before Al Bundy was ever even when idea somebody’s head.