In what way is it not a competition?
We live in a world of finite resources. When considering the significant task of decarbonizing energy, there are lots of technologies potentially available. But some deliver more value than others.
Unfortunately nuclear is not _currently_ one of the options which delivers value in this regard.
Flamenville 3 - the newest French reactor will cost $22B to build 1.6GW of capacity and will have taken nearly 20 years from the start of construction to deliver a watt. The same amount of money could deliver over 20GW of wind capacity which could be deployed almost instantly as it's an easily parallelizable low-risk, relatively low-tech engineering task relying on mass-production for most of the installation. None of these benefits are available to nuclear reactor construction. Even with a capacity factor of 40% for on-shore wind vs 90%+ for nuclear, nuclear just isn't close.
I'm not against nuclear. If the nuclear industry can step up and deliver reactors on time and on budget which can provide power at competitive prices, then I'd be all in favour. It would be wonderful to have an alternative in the race to decarbonize energy. But all I see is a long trail of massively delayed or abandoned projects with incredible cost-overruns (Flamanville, Olkiluoto, V.C. Summer, Vogtle, etc). These failures are hard-engineering failures, nothing to do with politics.
With such a litany of recent failures, the incredible capital expense, the extra security required, the slowness of delivery, it's clear why resources have been directed away from nuclear toward other technologies which are quick and easy to roll-out and have already significantly contributed to reducing the the CO2 intensity of Europe's electricity (which is now less than half of what it was 30 years ago).
Btw, it isn't just nuclear that loses in this regard; bio-fuels, domestic-solar PV, green hydrogen, etc. all fail to compete in the new world of ultra-cheap solar PV and wind.