GT - running accessories like lights when the engine is running has no effect on battery life. The battery supplies the power for the initial start, after that all power is supplied by the alternator, and whatever excess power there is goes to recharge the battery for the next start. You can disconnect the battery completely once the truck is running, and the alternator will be enough to keep it running. Only if you are drawing more juice than the alternator can put out, will the battery kick in to assist.
The main reason for batteries dieing is being left without a tender for extended periods. In addition to the normal self discharge of a battery, which is worse the hotter it gets, today's cars have a constant electrical draw that will flatten the battery. I hot weather self discharge is accelerated but n cold weather battery capacity drops quickly and once the battery becomes discharged enough it is at risk of freezing.
Assuming batteries are kept properly charged, very hot weather is really bad for the life expectancy of a battery. Hot States tend to get less than half the battery life of colder locations.
Where I am, it is very common to get 8-10 years out of a battery, even an OEM one, if the battery is properly maintained charge wise. It rarely gets to 90 F here, most of the summer it is 70-80 max. In Arizona, the same battery is lucky to last 3 years.