The law predicts the frequencies of alleles in a population won’t change from one generation to the next, but only when there is a large population, no mutations, no natural selection, no emigration, or immigration.
If all these assumptions are met then the allele frequencies of the population will remain stable over time.
It is a mathematical equation that is used to calculate the population's genetic variation at equilibrium.