I had a male friend but we never talked often but now I have developed feelings for him and I told him, he said he loves someone else means there’s no future so I asked him so we should stop talking it’s wrong. He said we are just friends. I asked him to block me but he didn’t so i blocked him today because I didn’t feel right as its wrong and useless but now i feel disturbed and depressed. Olease tell me did I do right thing and how should I keep myself convinced?

Please let go and don't regret blocking him. It's ok. InshaAllah you will find a better person in life.