I don't really get the effects of increasing the temperatures on the equilibrium. Because of le chatelier's principle, the equilibrium of any endothermic reaction will increase if the temperature is increased. However, looking at G=-RTlnK equation, we can see that G can still be negative even if it is endothermic reaction by having a positive entropy change. Thus, if G is negative, negative signs from both sides cancel, and from this equation, we can see that an increase in temperature would actually decrease K. Can anyone explain this to me? Thanks