I am 99% sure that I am wrong here, but here is my reasoning.
The efficiency of a Carnot engine can be written as:
$$ \eta_{carnot} = 1 - \frac{T_f}{T_i} $$
But since Effency's definition says $\eta = \frac{Q_{in} - Q_{out}}{Q_{in}}$, we can say:
$$ \eta_{carnot} = 1 - \frac{T_f}{T_i} = 1 - \frac{Q_f}{Q_i} \implies \frac{Q_i}{T_i} = \frac{Q_f}{T_i} $$
But since $\frac{Q}T$ is just entropy, that means the entropy for a carnot engine is constant after every cycle. How is that possible? Statistically shouldn't the entropy go up?
One place where I think I might have made a mistake is saying that $\frac{Q}T$ is entropy, when entropy is $\frac{\Delta Q}{T}$. Is that correct?