Does the engine crank over ok?
yes then it dies running down battery
How long does it take to run the battery down?
Does it start if you use jump leads?
yes it does
If it starts using jump leads then most likely is a faulty battery or faulty charging system that is not charging the battery when the engine is running.
You need to have the battery tested properly and if good the alternator should be checked.