have you ever loved someone so much you set them free?

long story short, i know he doesnt want to be with me but hes kinda trying on our relationship but i know he doesnt want to try.. i love him so much... i just want him to be happy.. if thats with someone else then so be it.. i love him so much but i think its time to set him free..