No need to buy digital cameras anymore I suppose

I recently was hired for a job with requires that I take pictures often. I was all set, got my Sony 7.2 MP digital camera, a nice memory stick and storage bag. One problem, I took some pictures and they all stunk. This is coming from someone who knows all the adjustment dials on the camera. Meanwhile, being stuck in this position of having to take pictures with a crappy camera, I looked for an quick alternative, my iPhone. Amazingly it took better pictures than my dedicated camera, at a full 2MP less resolution. If this is always going to be the case, why would anyone buy a dedicated digital camera anymore? The cameras on smartphones are almost (in my case better) than the digital camera. I can only imagine what the quality is of the iPhone 4S camera.