Jesus made an active decision during his time on earth to operate by the power of the Holy Spirit so that we could copy him. He was fully God but he chose not to draw on his divinity. He worked his miracles by the same power that he has made available for us today.