I don;t like the word failure in this context. You've been sober 10 days, so you know you can do it - you just need to work out now how to stay that way. I won;t lie - it's the biggest part of the job, but it's not impossible.
Look at your support - do you have enough? do you use the support you have effectively?
and...look at your lifestyle too - maybe, for now, until you build some 'sober muscles' it's best not to eat in licensed restaurants for example?
D