だけの分別が

enough sense to

→ だけ
phrase Rare #36,712
enough sense to Used with ある or ない to say someone does or doesn’t have the judgment to do something. The action or choice comes before だけの分別が.
JA: 彼には危険な場所に近づかないだけの分別がある。
EN: He has enough sense not to go near dangerous places.

私にはそうするだけの分別がなかった。

I didn’t have the good sense to do that.

彼にはその申し出を断るだけの分別があった。

He had the good sense to turn down the offer.

彼女には申し出を断るだけの分別があった。

She had the good sense to turn down the offer.

そんな事をしないだけの分別が彼にはある。

He has enough sense not to do such a thing.

私にはそうするだけの分別がつかなかった。

I didn't have the sense to do that.