because it is written, "You shall be holy; for I am holy."
In the context, Israel was to be holy so she could have intimate fellowship with God. We cannot expect to enjoy intimate fellowship with God who is holy unless we are holy too. Intimate fellowship with God is the greatest good human beings can experience (cf. Philippians 3:8), but without holiness it is impossible.