As far as i could understand, i think the demon if we believe its words had been dwelling in lily for years (since lily was rescued) waiting for this night. Specifically there are remarks the girls are scarificed when they are 13. Lily was 10 when rescued, and 13 the night of the show. When he made the pact with jack, this was "his purpose". More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.