Not sure to end the relationship or not.

Hi, so to sum everything up, I'm confused whether or not I should end this friendship with a guy that I've known for a little over 4 years, and we've had a lot of good times and have good chemistry together. But, he's with another girl, and quite frankly, I just don't think him and I are meant to be. Friends or partners in life. We have so many differences, and really the only thing that kept us together was the fact that we found each other attractive... but, I feel like I'm always the "back-up girlfriend" for him, like if he breaks up with someone he comes back to me, every time. I don't like that. I respect him, and we have so much history together, but I feel like God's putting it on my heart for us to go our own ways now. What should I do? I truly don't have anyone besides God to talk about this too, so I would appreciate it if at least one person actually gives me good advice on this.