Yes, there are situations where getting the lump sum is more prudent, but it shouldn't be the default in the average case. It is sometimes possible that you can find a better annuity or investment product to invest the lump sum in yourself and make back the lossage of the asset's interest/share in future lotto profits included in the longer term investment product, but that requires analysis and comparison, with good financial advice to reach that conclusion. But the keyword is "sometimes", everyone has different investment needs, and overall strong, steady passive income is often preferable to lump sums, especially without good financial advice to rely on to manage it.
Regular Lotto payments, even fixed ones, are some of the least likely assets to default (historically tend to be quite stable/secure) you can have if your threat model includes future governments debasing currency or high inflation. It's sad how strongly inversely correlated bad economies are to higher lotto activity. (Now, if your threat model includes future governments strongly prohibiting gambling and gambling payouts, that's a different matter.)