Good advice on starting with the battery. On a budget, the checklist that matters most is: enough range for your regular trips with some spare, a battery you can remove and charge indoors, brakes that stop well in the wet (disc brakes are worth looking for), and a frame size that actually fits you. Real-world range is usually lower than the maximum figure in a listing, so it helps to leave a margin rather than buying right at your daily distance.
It is also worth checking what is included and what is not. A display, lights, fenders and a rear rack add up quickly if you have to buy them separately. And before buying, confirm the charger matches the battery, check the stated weight if you need to carry the bike upstairs, and read recent owner reviews for battery or motor complaints.
As one example of the kind of budget model to compare against, the TotGuard 26-inch e-bike with a peak 500W motor lists a removable 48V battery, dual disc brakes and a stated range of up to 40 miles: https://nook-nest-finds.netlify.app/products/totguard-electric-bike-26-inch-peak-500w-t-266-ul
What distance do you ride each day, and is your route mostly flat or hilly? That decides how much motor and battery you really need.
Disclosure: I run EBike Elite, an e-bike finds site that researches and lists e-bikes available on Amazon.