That puts things in a different light. Your starter motor is working. Now you’re dealing with a worn out engine (not likely…), lack of spark, or lack of fuel.
Take a can of aerosol carb cleaner and spray a healthy shot into the intake tract. If it starts and runs for a few seconds then you have a lack of fuel issue due to a bad fuel pump or the electronic controls involved in making the pump operate.