I disagree with this. You pay a realtor because a good one stays up to date with what's happening in the market, has a network of vetted contractors/potential buyers/other connections, has up-to-date frameworks for handling the processes and timing of tricky situations that can arise.
Sure, you can do all that yourself if you want, but for the average person, they are providing value.