Battery dies only when I try to start the car

In order for the starter motor to work like it is supposed to it requires more current from the battery than any other electrical device on the car. This puts a big load on the battery. The problem you describe is due to either a battery with a low charge, faulty wiring to the starter or, the starter motor itself is bad. Have the motor checked to see if it is drawing too much current from the battery.