Philosophy, law, and religion have been grappling with that question for a long time but I’ll take a swing. For me personally, individual freedom is the highest good. Anything that increases it is moral and anything that decreases it or decreases it for others to increase your own is immoral.