Help my heart LOL

How do you get over a guy that you never even dated!?!! For some reason I still like this guy even though there are thousands of signs telling me not to. Like my brain is trying to forget abt him but not my heart. I still wanna be friends with him (kinda) but I’m tired of having deeper feelings than that because Ik the feelings are not being reciprocated (he literally told me before that he’s madly in love with his girl best friend but she doesn’t feel the same) so someone please help I just wanna be happy cuz Ik I don’t need no man especially one like him (although he’s easy on the eyes)