Quitting is an option
When the “cost to stick” is too much higher than the “cost to quit”, quit. Even more when you can transfer your effort to something more effective. Quitters have better chances to be winner in the long run because they gather better knowledge.