To involve oneself with in a dangerous and reckless manner.
To behave in an unacceptable or morally reprehensible way.