If it can't even boot into Recovery, I'd guess it's a hardware failure (battery vs motherboard). Unfortunately, there's probably nothing you can do short of bringing it to a repair shop, and I doubt they could salvage it either.

Hopefully all of your important data was backed up or synced somewhere!
I always recommend Pixel phones (for moderate pricing, consider the Pixel 5a, or perhaps the Pixel 6 if you want to push your budget up slightly). But if you want to stick with Samsung, the A line is a good value (like the A52 5G).