Everything happens for a good reason. If you failed, then, be happy with it because God prepared the best things to happen for you.