Whirlpool dishwasher not working properly

Whirlpool model # WDT730PAHZ

I purchased a home and got sold a lemon dishwasher with my purchase… trying to fix it myself to save some money. Please offer your advice.

The issue: The dishwasher is not cleaning well. The dishes don’t come clean.

The cause: From what I can tell, the dishwasher bottom and top rack spray arms are not spinning and I don’t believe they are getting water.

How I confirmed this: Ran a cycle and took note of the arm positions. After the cycle, they have not moved.

Additional things to note: I have cleaned the filter very well

I have taken off the spray arms, made sure they are not clogged by running hot water through them and picking at them with a needle.

There is water and steam in the dishwasher. Water is coming from the very small spin arm at the very roof of the dishwasher, that shoots water down.

How can I fix this or diagnose the issue further? I would assume it’s a bad pump, but water coming from the roof’s top small spinner makes me think that can’t be the case. I’m at a loss and looking for any advice. Thoughts???