of course stopping him from doing bad is more commendable, but only for that moment. but advising him to do good will last longer.