Giving up on an idea isn’t failure. It can be basic common sense. Both time and resources are finite. If you spend them on something that has little chance of working out, then for all intensive purposes you are wasting your efforts. This doesn’t mean you give up on the idea of taking risks or pursuing long shots, but it does mean you do so carefully with your eyes wide open and a willingness to pull the plug if and when needed.