Either there's something blocking the pump, stopping it turning or the pump has failed. If the pump is OK you should be able to hear the motor whirring when it's supposed to be emptying.
Here's a useful thread
https://www.justanswer.com/appliance/4b15r-whirlpool-washing-machine-clean-pump-flashing-light.html
Ffhh, January 2024