What it gave them - primarily - was the ability to be independent of Microsoft, not beholden to them in any way whatsoever, and not having to pay them any license fees.
The fact that after putting so much work into making Proton and that whole toolchain amazing it’s actually faster than Windows is just the icing on the cake, from a commercial perspective.