Notice that all of the ratios you chose were:
1 hydrogen : 1 chlorine 2 hydrogen : 2 chlorine 4 hydrogen : 4 chlorine
Because they all can be simplified down to 1 hydrogen : 1 chlorine, that is the ratio used in writing the correct chemical equation.
H2 + Cl2 2 HCl