We know for finding the ground state we have to minimizing the Hamiltonian in the Schrödinger equation (wave function), And there is a one-to-one bijection between wave function and density, so minimizing the density functional also gives the ground state.