Husband spent all our money

My husband has been acting strange lately. He's 26 and I'm 27. We've been together for 6 years and I know everything about him. I know the person he is. And everything he's been doing has been so out of character for him. It started with him talking to me about his assault when he was 16. I know about it but he has never talked about it. He talked so fast that I couldn't understand him. He talked in detail and started going on this whole thing about the minds of predators. I listened but was so confused. He just started getting weird and started hyper fixating on random things. I found out he took his entire paycheck (and he live pretty paycheck to paycheck) and bought a new computer. I was pissed because this was a $1400 computer. But he said he needed it because he's going to create an app to track down predators to protect our children. He doesn't even know about coding or whatever to build an app. I was so mad and then he got mad at me and his eyes just changed. These aren't the eyes I fell in love with. He told me that I don't care about him and that I wanted him to be assaulted. He left and I called his parents. Then he sent me a bunch of texts on how he must protect our children. And there are predators out to harm our kids and he needs to build this app. When he came home he was up all night messing with his computer. I don't understand where this all came from. He's never done anything like this before

Edit: Also adding we aren't religious at all and he started talking about God and stuff out of nowhere. Not even saying he thinks he believes in God now. Just out of nowhere rambling about how God needs him to get rid of all the pedophiles and God chose him.