Generally ascribed to Benjamin Franklin, who wrote, “By failing to prepare, you are preparing to fail”.
failure to prepare is preparing to fail