If your house were secure, the burglar couldn't have gotten in and stolen your stuff. or stabbed you. So... who's fault is it?
(There is a whole other can of worms regarding what counts as "hacking" and what doesn't, but without knowing what the "hacker" actually did we can't really discuss it in this case)