Marketing is not just a synonym for advertising and promotions, etc.
Marketing is about finding/building/reaching a market for a product. It involves both identifying/creating a market, and identifying/creating a product for that market.
Advertising/promotions is just a small (though expensive) part of it, but it's the part that the world sees, so laypeople can easily think that's all it is.
That said - I don't think marketing is a good goal for a startup, for the reasons enumerated here [1]. Basically, you can visualize the roles in a company like this:
Concrete | Abstract
-----------------------------------------
Tech | Programming | Architecture
Customers | Sales | Marketing
Employees | Managers | HR
And in a startup, you don't want anything to be abstract, because there's too much room for error just getting the concrete stuff right. Everything in the right-hand column belongs in a big company, with millions of users and thousands of employees, because they deal with emergent phenomena that happens when you're huge. If you're thinking in those terms you'll get crushed by the big companies that actually do have all those resources, so startups need to focus on small niches that can grow.[1] https://genius.com/Jessica-livingston-why-startups-need-to-f...
I don't have a startup, but if I did I would view every single step in the process of creating one, both technical and non-technical, as an opportunity to test the market viability of your product.
I'm honestly surprised at the abundance of non-product-viability issues that were cited as determining factors. Maybe this reality is hard to face?
It has to be really frustrating for startup CEOs to fold and then see a bad copy of their idea appear as free software and explode in popularity.
but if I did I would view every single step...
To a first approximation, everyone knows this and at least tells themselves it is what they are doing.The real problem is that is hard. In the vast majority of cases, much harder than the tech & engineering you are doing.