I can only agree with Lumpi on this...such slogans make no sense in a discussion forum. I would also not presume to say that the combination of heat pump and photovoltaic is the miracle cure.
I can only share my experiences here: We built with an air-to-water heat pump in 2017 and retrofitted a photovoltaic system with 8kWp last year and are very satisfied with the combination. Currently, we have a monthly electricity installment of €153. This includes the entire electricity consumption including heat pump + controlled residential ventilation. We receive €74 feed-in tariff from the grid operator. So there are €79 electricity costs/month remaining. Additionally, we consume on average 30% of our produced electricity ourselves in the household. Of course, the high acquisition costs of a heat pump must be considered against that. How long the heat pump will run remains to be seen. However, I do not believe it will be "scrap" after 15 years. Certainly something can break down, but things can also be repaired or replaced.
If I had had the choice back then (budget was limited), I would have had a brine heat pump installed as well. They are even more efficient.
For us, however, the environmental aspect was also one of the main arguments for a heat pump and against a gas boiler. I want to contribute my part to the energy transition and am also willing to pay more for it (if it should be so).
My wish would actually be a battery to store the surplus energy during the day and use it in the evening/night to reduce grid electricity consumption to a minimum. However, batteries are not really economical yet, plus batteries do not look really good in the life cycle assessment either....