That is very simple-minded and idealistic. One should look at their product ideas and development objectively to determine if they are building something people will use or not. Simply saying "build it and trust the process" is too faith-based.
What does "things are not going well" mean? It could mean the implementation of an idea doesn't work, the developer can't bring the idea to market, the developed doesn't really want to do it, or the market is telling the developed they don't want to use his/her product. It could mean other things. If any of these conditions are met, then it's time to change or call it quits (hint: quitting a doomed venture is not a failure.)