Which of the following is a condition for a spontaneous reaction?