by accident or design

(whether) by accident or design

whether intended to be this way or not The system, whether by accident or design, benefits people who live in the cities more than people who live in the country.
See also: accident, design