When the pain of failure is still present it can be difficult to even consider trying again. Instead we want to run and hide. Coming back to your values and the reason you are doing this thing will help you make a decision based on your best interests and the life you want to have, rather than basing that decision purely on the pain.