A French native speaker just told me that
One must do what one must do
can't be translated into French as
On peut faire ce qu'on peut faire
because the correct way to say that is
On fait ce que l'on peut faire.
But
On fait ce que l'on peut faire
actually means
One does what one must do.
Is there any explanation why my translation might not be correct?