An action film maybe from the 2000's

Can’t it remember exactly, but the just of it was the “good guy” was hired by a girl or friend to help steal some drug lords money thing kind’ve go south the girl and or friend gets killed so he finishes the job and gives most of the money to charity. towards the end it a big fight and everyone is on a yacht that has a computer on board, later you hear a news cast that says a large donation was given not really sure about that any help would be great thanks in advance!

Not a perfect match, but some aspects fit, maybe
“The Last of the Finest” (1990)?