Better alone or together?

If my boyfriend is being sketchy & doing things behind my back should i leave? Together we provide much more security & a better life for my daughter, who is going to be here any day. But i also dont want her growing up to think being treated like that is ok. What should i do?