Generally it is more cost effective to purchase a complete bike rather than build up a frame. Manufacturers can buy components cheaper than you can retail.
Of course that doesn't stop many of us from building up a frame to get exactly what we want that isn't readily available "off the shelf". You have to shop smart and find deals.