The Flintstones - Season 6 Episode 5 Circus Business Yabba Dabba Doo!
Overview: Hoping once again to strike it rich, Fred buys a circus. When the performers quit, Fred must put a show on himself with the help of Barney, Dino, and Hoppy, which he does successfully--so much that the performers return, and the former owner buys the big top back. To prove he is cured of get-rich-quick schemes, Fred passes up a chance to buy an oil well, which of course pays off.