People come and go.
If you gave the maintenance of the relationship your best effort, you’ve nothing to regret.
The mistakes you made are because you’re human, and it’s okay and natural.
Don’t get caught up on the abandonment.
And definitely don’t dislike yourself.
Eventually, everything will be just fine.