This _should_ be true, but isn't always, if you're at a company (or just have a manager) who will let the mess/blame fall onto your shoulders.
That being said, if you're at said company/have said manager, you should get a new job. I hear the market is hot.