Chicken wire is not an effective deterrent against foxes and coyotes. They tear the wire using their sharp teeth and can eat the chickens.  To avoid this, use a chicken wire that is thick in diameter and the mesh size is not greater than 80mm. This will prevent foxes from tearing and ascending it. If you still can't trust the wire, you should use it when your dogs and or you yourself are near the chicken coops.