When all the work done on an object of mass m goes into increasing its speed, say to v starting from rest, the work done on the object is easily seen to be (1/2)mv2, so we define the kinetic energy K such that the change in it always equals the work done. Then clearly K = (1/2)mv2.