A lot depends on where you will be riding. In the USA, most states have wattage limits. If you plan to use any bicycle infrastructure, there are likely to be limits for the class of e-bike that is allowed. An illegal bike can get you into trouble and become an expensive lawn ornament.
I have ridden motorcycles since I was a kid, but I prefer my ebike to feel like and resemble a traditional bike, so I prefer my class 1. In New Hampshire and Vermont it is simply considered to be a bicycle, so I can go anywhere an unassisted bicycle can, but that’s not for everyone.
There are also e-motorcycles and e-mopeds as well as some out of class e-bikes that pass themselves off as legal e-bikes. A review of your local laws can help you to focus your search for an e-bike. Some people decide to roll the dice and ride an out of class e-bike in places that prohibit them, but there are reasons for the restrictions and in my opinion anyway, they put others at risk, (physically and the risk of everyone losing the freedoms that currently exist under the current laws). That is a topic that can ruffle some feathers and I am not here to argue. I just wanted to point out the current situation.