He may have had the light side of the Force with him, but at this moment it was no match for the dark side. Yoda himself insists that the dark side isn't stronger, but does note that it's "quicker, easier" - in terms of this duel, that's important, because it means Palpatine can more quickly gain the advantage.