Hiding Vertices Behind Mesh
I found a solution. Apparently, you can use a holdout node in the shader editor to get this desired effect.
Create a new material or use an existing material and assign it to whatever object you want to hide and hide whatever is behind it. Go to the Shader Editor and add a holdout node and assign it to surface, you can create the holdout node by going Add &gt;Search and then search for Holdout.

Once all of that is done, you won't notice anything in the editor after the changes and it should look the same as seen below.

You'll need to render to see it take effect so press F12. Here's the result below, I think you can set the holdout to display a specific color it seems by default its just transparent (which is what I want) when you have the node selected in the Shader Editor just edit the color and experiment around with it.
If you want everything transparent you'll have to change the World settings from the default grey as seen below to transparent.