Anxiety and stress over this guy.

Loooong story short...I ended up hooking up with one of my best guy friends when he came back home from the military. When he left to go back later that week, we literally talked all day and called all night. He was moving fast and I wanted to take it slower because I had just gotten out of a relationship. We talked about everything...the future and all and I felt so connected. A week ago I knew something was off with him so I asked. He messaged me that he thinks we should just stay friends and that he really wants to just focus on school, work, and his religion. He told me he lost his relationship with god and morals when he came back home. He basically told me that he had been waiting to have sex till marriage (I wasn’t his first, he has had sex before me) but he lost it and that he just wants to strengthen his relationship with god. Over the next few days after that, he told me the same thing and that he just doesn’t feel ready for a committed relationship right now. Also that he regrets doing what he did and losing his morals, but doesn’t regret me and doesn’t think it was a mistake. I was in shock because although we were just talking for 17 days, I felt like I was getting closer and closer to committing. He also said me taking too long meant a lot to him, which is so frustrating because I was ready the day he told me he wasnt. After that, we decided to go back to being really good friends. Tbh, that has been the biggest struggle for me. Going from talking to him all day to MAYBE getting 1-2 snaps or insta messages from him. Because of that, it’s made me overthink so much but he has reassured me that being good friends with me is important and that he just doesn’t message his friends all day long. I literally had to remind myself how much we actually talked before this all happened and we’d message each other a few times a day but not every day. Now I’m honestly thinking that maybe he was talking to another girl and that’s why he dropped me so fast, but during that whole mess he told me he’s not talking to anyone and he really just wants to focus on himself. I guess I’m just worried he’ll “lose” his morals again but I wanna believe he won’t and is taking it seriously. I also want to believe him when he said we can go back to being good friends and that we’ll still hang out when he’s back home. He has literally told me not to worry about that, but in the back of my mind I can’t help but to stress that maybe we won’t go back to normal. Any advice please?