You’ve got it backwards. The current energy problems in Europe are due to a reduction in the supply of imported natural gas, nothing to do with renewables.
By reducing Europe’s dependence on imported fossil fuels, renewables are part of the solution to energy security.
We should be thinking long term, but we can't forget about the present and the path to the glorious future. I think in hindsight we'll soon admit that we botched the transition to a greener world and caused needless suffering by putting ideologies before engineering.