Whirlpool washer

Will fill with water then stop. It is making a humming sound. I’ve checked the plastic and rubber pieces from behind the motor and they are perfect.