But this by itself does not guarantee a valid argument, see the fallacy of the undistributed middle for an example of this.
However, this is not enough to validate an argument; the fallacy of the undistributed middle provides an instance where this occurs.