With a photovoltaic system, you can save a lot of money in the long term. Since energy costs will almost certainly continue to rise in the future, investing in a photovoltaic system will be profitable in a short period of time.
Other reasons are that the solar panels and batteries are becoming cheaper and more efficient. The effort is therefore quickly amortized.
You also actively contribute to environmental protection.