the question that hardy and weinberg want to answer is : how does allele frequency and genotype frequencies changes between generations
in the end, they found out that the allele frequency and the genotype frequency will remain constant from generations if evolution is absent.
hope this helps