Throughout the game, Alan Wake is attacked by creatures that have been possessed by the Dark Presence found under the lake, where Wake and his wife stayed in Bright Falls. By the end, though, we learn that the darkness needs Alan alive, in order to
write his novel to allow the darkness to escape.
thus why it kidnapped Alice at the start of the game. If so, why is it constantly trying to kill him?