is definition of resistor. This relation alone is not Ohm's law.
We say a resistor obey ohm's law if it's resistance R is a constant. i.e. Voltage divided by current is a constant.
Current is propotional to voltage in a linear way.