How do you deal with seeing someone you still have a little feelings for on a daily basis?

I've recently came to terms that my crush probably has no interest in me/isn't motivated enough to go further (even though he keeps on looking at me) so I'm a bit bummed especially since I see him everyday at my mosque. I need tips on how to deal with seeing him daily and how I can build my confidence again/not loose hope for future relationships. I know this may sound dumb because people usually don't give a fuck but I'm pretty insecure. So hit me with whatever worked for you. I'm open to literally anything so pop off.

How do you deal with seeing someone you still have a little feelings for on a daily basis?
Post Opinion