In the end you're lucky if you get EROI of 1.5-3. That's an extremely bad deal. All other sources of energy, renewable or not, are in the 20-100 territory. The purpose of the energy production system is not to barely sustain itself but to actually produce usable electricity for everything else you want to do. It's the means, not the ends.
Solar panels have very solid benefits of course, you can buy them for your house to be more autonomous -- I would do that if I had a house. But from the energy/CO2 perspective what you're doing is buying a sort of "battery" that was charged with cheap coal-based electricity in China and shipped off to US/Europe. This makes sense in certain situations but presenting this as a green solution or as future of humanity is just delusional.