I've run a few marathons, and I think that's nuts. It's only expensive if you want it to be. You don't need $580 worth of new clothes, $235 in intermediate races, a $130 gym membership, $210 worth of massages, $95 in transportation/lodging (if you run a local one), and $165 in celebration food (!!).
Wear clothes you already have (if you're at all athletic to begin with), get a training book from the library, and spend $100 for an entry fee and $100 for a good new pair of shoes or two. There, I just saved you $1500 off your next marathon.