Do "The foxes" and "them" point to the same thing in the following sentence?

The foxes are getting in at night and attacking the chickens . I shall have to kill *them* .
yes