If someone comes to a bad end, their actions lead to disastrous consequences which are sometimes deserved or predictable.
"If that boy doesn't change his ways, he'll come to a bad end."