As a comparision BioNTech got $445M funding from Germany and in return Israel is getting priority.
[1] (https://www.timesofisrael.com/israel-said-to-be-paying-avera...)
I don't think this is particularly to the detriment of Germany. Wasn't Israel vaccinating people before Germany had approved any vaccination?