We’re talking about the Abrahamic trio, so God is supposed to be all powerful. That means there is nothing beyond his power. There is no “can only” or “can’t” or “incapable” for him. He can have His cure and save the tree too, He doesn’t have to choose. Your example only works if God is limited in some capacity, and has to make trade offs that we can’t understand.
We’re talking about the Abrahamic trio, so God is supposed to be all powerful. That means there is nothing beyond his power. There is no “can only” or “can’t” or “incapable” for him. He can have His cure and save the tree too, He doesn’t have to choose. Your example only works if God is limited in some capacity, and has to make trade offs that we can’t understand.