Welcome to the Corolla Forum! :thumbsup::clap:
:thumbup::thumbup1::balloon: :rockon:
Either the battery is weak, the starter has reached the end of its life, or both. Test, diagnose to find out which. Auto parts stores like Advance Auto Parts will test the battery and starter for you for free.
How do you know electricity is getting to the starter? `