You have to think of ALL of the energy inputs to produce a PV panel.
Producing a photovoltaic (PV) panel is an extensive process that encompass multiple stages. It begins with the extraction and processing of raw materials such as silicon, aluminum, glass, and various metals, which involves mining and refining operations that are energy-intensive. These refined materials are then transported to manufacturing plants, where they undergo further processing to create silicon wafers, solar cells, and finally, assembled into PV modules. Throughout this supply chain, transportation between stages consumes additional energy.
The production process also requires significant human labor and various chemical reactions, each contributing to the overall energy footprint.
Additionally, the end-of-life management of PV panels, including recycling or disposal, adds to the energy inputs.
It is highly doubtful that the output total of a PV panel closely approximates the overall energy inputs before the system degrades into disuse.