Segment couldn't have started with their final idea. They learned about analytics running their first startup, then pivoted to a Mixpanel competitor, then discovered nobody wanted the competitor — they just wanted the JS snippet. The final idea emerged only through grinding.