Honestly, I don't think 4 hours is unusual for a MacBook of that time frame depending on how it's being used. Battery life is something that is impacted by so many factors it's difficult to estimate what's "normal." What was your battery life like before you replaced it? If it's significantly better, I would still call that a win.
Also be mindful that workload in 2017 and a workload in 2025 are not the same. Programs as well as the operating system are likely more taking on the hardware.
If you're concerned, you can use Coconut battery to check some of the specifics of battery health.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2947414:01crwdne2947414:0
If the screen is on at all times and your doing things then about 4 hours is what you'll get from it......
crwdns2934271:0crwdnd2934271:0 livfe crwdne2934271:0