How do you cope knowing you messed up things with a good guy?

It was me. I wasnt ready i made mistakes to the point he dumped me. My apology meant nothing but he was the best guyive ever dated. He had his own place and car, established career and was still humble. I Feel ill never get that chance again. Ever. How do i cope with this feeling?