Is renting really better than owning the roof over your head?

Everywhere you look, every "finance guru" is preaching that renting is better than buying. While I get that home ownership comes with a bunch of "hidden" costs, can you really put a price on the security of having a roof over your head?