This may be long winded, and it may be triggering for some. I have bpd, and I am currently unmedicated, not in therapy. I am a mother to three amazing little boys, 13, 7, and almost 5. 13 has add and some odd. I have some struggles with my emotions with 13, and I recognize my issues and I do my best at not being a typical person with bpd, but i struggle. I get bitey, I don't have patience when it comes to doing as I ask. My kids do chores, no reward system, they're not going to be rewarded as adults for every achievement, so I am not going to reward them for doing what is expected of them. I believe in a family, every person has their role, their part to making a home function properly. 
Yesterday I had a doctor's appointment, I was gone from home for an hour-ish. Before I left I told 13 to do dishes, or lose their phone permanently, due to the daily struggle I have with him. I come into the house and 13 is JUST getting started with chores. So I have a rant about "all I ask is that you do as you're told. Do what you need THEN do what you want" and I told him he's now lost his phone, I was trading him phones and he can have my old beat up one. I leave the room, come back a few minutes later, and he's crying. I say "What?!" And he said he was having thoughts of hurting himself. He's still doing dishes at this point, so I tell him to go to his room and chill for a moment. I wanted him safe. I go to tell my boyfriend what he said, and we decided to talk to him. 
When he comes out of his room, we asked what he meant by hurting himself and he said he wanted to stab himself with a kitchen knife. I wasted no time, I grabbed my phone and called a few places for child psychiatric help. They're all inpatient that I could find, and I went ahead and got him a bed at a nearby town. I didn't want him here at home and potentially hurt himself or worse. I want him to be safe. But now I worry that I made the wrong choice due to reading the handbook. They have kids that are by far worse off, criminals, people with extremely checkered pasts. 
More or less, I want to know did I jump the gun and make the wrong decision here? I want what's best for 13, and I am primarily looking out for his safety.