More typically in that price range: 5% of 1m = 50k. / 2 brokerages so 2.5% = 25k. * 80% to agent = 20k. - agent costs = You would cry at how little net most agents make.
You are not paying an agent hourly for the amount of time they work on your transaction, but for their knowledge and experience - which cost them significant amounts of money - to guide you through the transaction and not shoot yourself in the foot. There is a fine line to walk between getting rejected outright and a deal never happening, and overpaying. You also might be buying a lemon (and not just from the perspective of a home inspection - people *regularly* want to do things with properties and transactions that just won't fly. They need to hear that from somebody on their side before they wind up losing much more than a couple percent). An agent will help you avoid them. Add on top of that how agents can help avoid the many lawsuits there are when people feel slighted and/or are actually slighted in RE transactions, and real estate agents are a decent value.
Agents are functionally like mini-attorneys + advisors for real estate. You wouldn't walk into a court room without a lawyer, and it is not a whole lot smarter to enter into a real estate transaction without an agent.