I do not think most of us would question why we work hard. most of us work hard in order to have some sort of financial benefit. For some it may mean being rich while for others it means simply being able to afford a dignified way of living and providing for your family.
But none of that seems to be what this proverb was going for.
This verse is not about condemning hard work - far from it. But it does warn against making the pursuit of more and more wealth the primary goal of life and willing to sacrifice your health, happiness and relationships in doing so. We need to take a step back and reflect. We should not put our whole faith in ourselves and our plans or think money can give us true security.
It's good to work hard because a man who cannot provide for his family is worse than an infidel. That's also quoted in the new testament, but the main point here is that the enemy is the greed or obsession of riches that makes one become manipulative, crooked in their ways, with a care for themselves or others but money. That's the true danger because as King Solomon also said in the book of Proverbs, vanity upon vanity, all is vanity.