If we were fighting for Israel, then the Wat would be over. Israel wants to wipe Iran out completly. President Trump has held back. Your argument fails.
By your "logic," if you demand a million dollars, and I only give you half a million, then I haven't done anything for you.
This war is for Israel, even if Trump has only given Israel part of what it wanted.