Getting out of the misery.

My husband has turned me into the type of parent and person. I didnt want to be. Im qngry all the time, im depressed. Im short tempered with my babies and i hate it so much. But im so unhappy with him. Im a sahm mom so i cant just leave. I have to have a plan that also incudes a way to stay cordial for my daughters' sake. Any advice?