The underlying question is not how YOU got your moral compass but where do the people who taught you yours - and eventually society as a whole - get theirs.
If it's a set of principles that civil society generally agrees upon, then the rest are implementation details that will vary from situation to situation.
If it's a set of whims of the people in power and will vary regularly and constantly, then "damnation" comes from breaking today's rules.. maybe without even knowing what they are.