To have guts / To have nerve
Literally 'to have gills'. Used to describe someone who is brave, daring, or bold enough to do something difficult or risky.
You have to have guts to do something like that.
She had the nerve to tell him the truth to his face.
—Did you do it? —Yes, in the end I had the guts.