Water is not even an element.
And, it is not the most abundant compound by any measure except surface area coverage.
Back to chemistry class for you.
You’re correct, it’s compound. And it is the most abundant. It’s everywhere.