My life sucks!

Been in the hospital all day to find out I had a miscarriage! I started off spotting and then I began to bleed a little more and pass tiny clots. The doctors said that they couldn't see the baby/gestational sac. I was only 6 weeks and I'm so hurt...Why me!?😔😢😥💙 this was my 1st pregnancy and I just wanna know why it ended like this!
Me and my boyfriend was really looking forward to having our child...Don't know what to do! I'm so depressed...I wanted my BABY!😢😢
Have any of you had a miscarriage?
Do you know what the caused it? How do I get through this??? This is so hard for me!