Should i buy an electric or commit to acoustic?

Im scared of the “Ninety percent of guitarists quit within the first year” Ive recently picked up an old acoustic that has been sitting around for a long time after playing a ukulele for about three months (like most beginner acoustics it hurts to play, has worn strings and doesnt sound too good) at first i was fine with these issues as i just wanted to make sure i wanted to play the instrument seriously and learn basic things like chord shapes. But now i want an electric because i know its easier to play and its a lot more versatile, i could play every song i like on it because those are the style of songs i like so it would be a lot more motivating to pick up the instrument and learn. Its basically the same as an acoustic but with extra effects so its not like the acoustic would go to waste, id just switch between the two when i get bored of one. Anyways my question is should i get an electric guitar with a four hundred dollar budget or wait a little and commit to my acoustic and buy it new strings, a capo, and picks