and in the end they decide to take at least a small part of the money from the project by deceiving
Well, why immediately deceived? I do not think that all people think only in terms of money and profit. Many in the IT field are generally full of altruism.