Why does electric field lines not form closed loops

Why does electric field lines not form closed loops

The divergence of electric field through a surface is equal to the charge enclosed in that surface (Gauss Law).

Thus clearly if they would have formed closed loop, the divergence would have been always zero irrespective of the charge enclosed, like that in case of magnetic lines of force.