Some prefer building to selling though, so I wouldn't say it's wrong (for everyone).
I have various 'projects' between shower-thought to prototype/usable-for-me that it wouldn't make sense to sell first, because I'm thinking about or building them to scratch an itch and use myself; popularity with others and people paying for it would be great, but it's only the right place to start if the point is 'right, I want a successful business'.
I understand the "build" mentality, I also prefer that.
Selling isn't only about money, you get feedback also.
But you wouldn’t have been able to build it in two weeks if you hadn’t built a lot of similar stuff previously?
idea -> 6 months sending emails -> 1st sale -> 2 weeks building what I just sold
This was after doing build -> sell for far too long.