Accept that if you were meant to be you'll be regardless of any obstacle so you are either not destined or will be united later on. You can't force someone to love you.
Make a list if all the qualities you love about him, personal and physical. Then make another list of all his flaws and all the ways he hurt you, all the things and options he could have used to be with you but didn't.
Then look at the 'love' list again and ask whether it's possible to find them in another man? They say if you found one, you can find another.
Then delete, erase, lock up and put away all memories and reminders of him.
Then put that thoughts energy on your self improvement. Any time you catch your brain drifting to him, remind yourself of something from the 'bad' list about him and yank yourself back to the present.
Make some positive changes in your life, get a haircut, move furniture around, listen to different music, book a holiday or plan days out and actually go out and meet people.
Exercise a lot, learn new recipes.
Let him go, if it's meant to be it will be. You don't need to keep going back and fourth in your head about it because it's out of your hand. Nobody is unique on this earth, you can find someone like him or better but you need to focus on yourself and change this 'scarcity mindset'.