Too many robberies end in the home occupants being killed, be it to silence witnesses or even just for the thrill. You can't take that chance.
However, you will vastly reduce the chances by not engaging in drugs, gambling, gun running or other illegal or shady activities that make you a target.