Thanks to modern design and manufacturing, aircraft are becoming more and more reliable. However, (you said this before) we have to accept the fact that the human being is intrinsically unreliable. However, we can work around that unreliability by providing good training, procedures, tools, duplicate inspections, etc. We can also reduce the potential for error by improving aircraft design such that, for example, it is physically impossible to reconnect something the wrong way round.