Things like razor sharp or shaving edge are pretty subjective and open to various interpretations.

A true razor (hollow ground) is sharpened at a very steep angle then finished on a strop, which means super fine polishing. This is the kind of finish and blade profile that ensures superior cutting performance but the edge is not going to be durable enough for cutting anything harder than hair or very soft materials.

It is perfectly possible to sharpen a hunting/utility knife to a shaving edge even at an angle like 20° per side. I can shave with my USMC Kabar if need be and the edge is still plenty sturdy enough for harder work.

A lot of people make the mistake sharpening at a very steep angle when they want better cutting performance in a knife. Usually this leads to something approaching a true razor edge - very thin and fragile and doesn't last long. Instead, keep a relatively strong edge (say, 20° per side) but make absolutely sure that it's ground to a perfect point. When looking at the edge, it should be a crisp V. The sides should come to a straight, perfectly aligned edge. It takes some practice to get it just right so checking the edge under magnification helps.

Once you're done, take a fine stone and put in a small microbevel (like 25° per side) but make sure you maintain the same correct alignment. If done right (and as long as the heat treat is good) there should be no wire left at that stage. For optimal results, you can now strop the edge. Once again being very careful not to ruin the edge alignment as it often happens - stropping is an art and maintaining a consistent angle is not easy.

You will now get a super fine, yet strong edge that will shave hair but remain robust enough that it won't need to be resharpened for a long time. BTW, you can do the same with a convex edge (as opposed to a straight V profile), it's just that it takes a little more patience.