While it's not wrong to be extrinsically motivated (it's not morally wrong, or a value judgment), it's definitely worse and more fickle (it will produce worse results in most cases). Intrinsic motivation is much more likely to lead to long-term growth even in the face of adversity and in general be more resistant to changing circumstances.