Top loader washer does not drain - pump problem?

I have a Whirlpool top loader washer that is around 10 years old and has run with no problems until this afternoon. The washer ran through its cycle but when I opened the top, the clothes were inside, under soapy water. I turned the dial back to rinse/spin and the basin did spin but the water did not drain. I took the hose out of the drain pipe in the wall, and when I put the end into a bucket, and turned the dial to spin, water came out slowly. When I took the hose out and laid it on the ground, water flowed pretty quickly (due to gravity). I siphoned and drained all the water out and unhooked the drain pipe. There was no blockage inside the hose or inside the washer. So I’m guessing it’s the pump? Any ideas? Thanks in advance.

This is coming up as a GE not a Whirlpool, right?

That would make more sense, since the GE pump is electric and not connected to the motor as with the Whirlpool.

Confirm that the pump is getting power, which is probably the case since a little water is pumped out, and if so, then replacing the pump should do it.