Only a very light click,won't turn over.after time it starts like new on 2007 Chevrolet Malibu

Every time I go somewhere in my car,when it's time to leave,my car won't start.wont even turn over.replaced starter,not the problem.
Replaced engine control module,new battery,still when I drive it,
After I turn it off,it won't start again for an unknown period of time.
Getting a jump didn't work either.please tell me something

Asked by for the 2007 Chevrolet Malibu
sounds like a starter,next time it wont start try tapping the starter,if it starts then replace starter...