I think they knew that allowing slavery was a mistake, and it was a contradiction of their principles. Was the compromise worth it?
The bigger mistake, as you point out, is how some people, for their own financial interests, have decided that the Constitution is sacred, at least the parts of it that they like.
Perfect? I can't even keep my pants clean all the way through lunch.