count the cost
idiomDefinition of count the cost
: to feel the bad effects of a mistake, accident, etc.
He was careless and now he's counting the cost.