If you say that someone can't hack it or couldn't hack it, you mean that they do not or did not have the qualities needed to do a task or cope with a situation.
[informal] You have to be confident and never give the impression that you can't hack it.
Smith tries to convince them that he can hack it as a police chief.