Considering the consequences alone is not enough to do good. That’s why the Church holds its teaching on intrinsic evil.