Does the lights and gages on the dash go out when you try and start the car?
Is the security light on? My ex had that happen in an 05' Grand AM Pontiac.
I reprogrammed the BCM and the car started right up. Try this and tell us what you found.
Car in bright sunlight so the auto headlights stay off. Connect a charger to the battery so that the battery stays charged. Observe correct polarity. Put the key in the ignition and put down the window down in case the power locks activate. Then you can still get in the car.
Try and start the car. Shut the key off and take out of the ignition. Put back in and turn the ignition on showing the lights and the gages are on. Leave SIT for 30 mins. All accessories and the radio are OFF.
The security light will go out. Take the key out and put back in. Start the car. If the BCM was defective you re-programmed it. If you still have issues take to a good mechanic.
Everyone here has good ideas. Give this a try and tell us what you found.
John