Alice had never intentionally made a child to fulfil part the terms of the prophecy that Dumbledore had heard, but by the time she realised that she was pregnant it just felt right to her and Frank, so they decided to go ahead and face the dangers. It simply made them even more determined to keep up the struggle for freedom.