For tax purpose you need to differentiate between "profit" and "taxable profit". You can try to lower your taxable profit to minimise tax, e.g. by re-investing your profits, but ultimately it is better to turn a profit and to have to pay some tax on it that to have an unprofitable business.