You won't regret it if you go to entrepreneurship and ship.
The problem is not about entrepreneurship but in not planning for failure and having backup plans.
John Carmack: "There is wisdom that only comes from complete product cycles -- no amount of job hopping can provide it." [1]
From personal experience, I can say go for it not because you hate corporate, but because you want an end to end experience, then come back to an even better role, better pay cheque corporate job, if the gig fails but you have shipped and have good landing zone on failure (some months with expenses in bank mainly). HTH.
[1] https://twitter.com/id_aa_carmack/status/761986843319660548?...