If you install large solar panels that can power your home appliances during the day and night, you can go off the grid. But if the electricity that the solar panel generates is not sufficient to meet your power needs, you will still need to connect to the grid to power your home.
Most homeowners in the US with solar panels are still connected to the grid because their solar panels don’t meet all their power needs. It is also too expensive to purchase storage batteries. Additionally, solar power is mostly dependent on weather, a factor that makes them unreliable.