Shazam easily beats the god Hercules. Even though his strength comes from Hercules, Shazam also has the power of 5 other Gods to give him the edge here.
I think Hercules should have won here. DC could have explained that Hercules only length a portion of his power to Shazam, or he could have withdrawn his power from Shazam to win the fight.
From – Injustice Gods Among Us Year 4 #13