In a really bad place.

So me and this guy I was seeing broke up a week ago. I am devastated. We broke up bc he is very moody. We are both Christians. We used to go to church together to a church he introduced me to, a church I really love. Today I went alone to the service. I had debated going bc I knew he'd be there but I really felt like I needed God. It has been a really really hard week for me. I've struggled to sleep, to eat, Ive just been so hurt from the breakup, I literally cannot see myself moving on ever. So I went to the service anyway, alone. And he showed up with another girl. And I am just so depressed now. I felt awful during the service when I saw them together, it was like a slap to my face. How can I be that easily replaced? I gave him my all. I respected him, I listened to him, I was always there for him. I am sure they are just friends right now but now I cannot stop thinking about it. I am dying inside, in a deep dark place right now, and idk how I will ever get over him. I think maybe I need to stop going to church for a while? Until my heart heals and I can show up and be there for 100% for God? I don't want a new church. I've always had issues w other churches, but this one is the perfect fit and I can't imagine changing churches. Advice?