Unsure I have much to offer as not something I have experienced with anyone I know; but wish to say that your sadness is understandable, but ought not be allowed to take away all your hope. You may still be fortunate in the future; and if it is not to be then at least you will know you tried your best and can find a different focus to your life at that point.
Meanwhile accept you will think about what has happened but allow yourself to come to terms in your own time.
Life is full of ups and downs. Naturally you are at a low now, but you were at a high in times past and will be again, even if it seems not to be so at present.