I have no particular knowledge of French macro economic policies, but a tax deduction is not "giving money". It is "not taking money". Your framing assumes that corporate or individual earnings belong to the government and the government can decide to allow the money to be "given" to the taxpayer. Whether that is an appropriate arrangement of private property rights and the relationship between the people and the government is a hotly debated topic, to put it mildly.