Utilitarianism and theodicies both struggle with the concept of justice. Utilitarianism focuses on aggregating the greatest good for the greatest number, which could allow for unfair means if it maximized overall happiness. Theodicies view cosmic costs and benefits from a perspective that everything is about humanity, ignoring the costs and benefits for others. Both approaches fail to adequately account for justice by potentially allowing harm to some for the benefit of others.