“energy required to manufacture a solar panel is equal to the amount of energy that panel will ever produce”
If that’s so then the panels would be too expensive to even consider buying.
Which is why solar PV cells ONLY are used under TWO circumstances. If there is no grid power available AND the generated power is not essential 24 x7. Or if the government subsidies the solar installation .
Bingo.