In reply to owlart, Blue Straggler & owlart:
Pillars date back to at least neolithic prehistory, and it seems like a pretty clear metaphor so I suspect its origins are lost to the sands of time.
I'd be very surprised if the phrase doesn't pre-date Christianity and Islam, perhaps an example survives in ancient Greek or Roman literature...?