C# is just as good from a technical stand point I think, but there is a significant financial cost attached from the licenses. Large server installations with dev, stage, prod & load test envs tend to get expensive with .net.
If you need servers (which is only for web projects) then that costs money regardless of language. C#/.NET doesn’t have any license costs. It’s “apt install dotnet6” on Ubuntu. That’s it.
Since 2016 .NET is running on Linux.