$40 for a digital copy is kind of insane! I'm pretty sure, when I bought my DVDs a few years ago, that I only paid like $20 or so. It couldn't have been much because I was running on teenager funds. I wouldn't pay $40 for a digital OR DVD copy.
Edit: I just looked on iTunes & for me, all four seasons are $34.99.