Ms Lee, I'm assuming you're referring to all friendships and not just relationships?
If this happens to all your friendships, then it probably is something you're doing wrong. For starers, your approach of just wanting time and attention isn't what other people want from a friendship. People need commonality in order to have a lasting friendship. Doesn't mean you have to be like twins, but there has to be more than one common element. I was saying to a friend the other day "we're soooo different, but also the same"
What are your social skills like? Can you talk about someone else's interests? Can you tell when people are bored and the conversation needs to change? Are you generally positive in your outlook when you're with people? Would you choose to hang out with someone like you?
Never regret anything that has happened in your life. It cannot be changed, forgotten or undone. So, take it as a lesson learned and move on.