Why Did Moshe Have to Check If Any Good Would Come From the Mitzri Before He Killed Him?

From Parshas Derachim by R Yitzchok Gutterman.