In act iii of hamlet, why did hamlet choose not to kill claudius when he was praying?

In “Hamlet”, act III scene III, why did Hamlet choose not to kill Claudius when he was praying?