In my opinion, you dont need to regret whatever project you are joining that it happened that is not successful at all, because every mistakes you can learn from it, and everything has a reason why it happens and just be glad at it.
you can not alwayd bite ypurself for some mistakes tat will turn your lofe into heell ajd you will not succeed in that case