It thought it was basically a cartoon version of The Honeymooners.
It was based on the Honeymooners, but if you do a web search for “flintstones sexual references”, you will see some of the stuff the writers sneakily got away with.