Courts favor the best interests of the child. They do not favor men. They do not favor women.
Because they favor the best interest of the child, it appears to favor women in the eyes of men in some regards and it appears to favor men in the eyes of women in other regards. Both genders win. Both genders lose. But we tend to be blind to the other side because family court hurts, it's painful for everyone, except the lawyers.
If it's going to leave you so bitter, I'd suggest doing whatever you have to do to not end up in family court.
Also, when women complain about the scandalous type stuff men do to them, they are told by men that the problem is that they are quality controlling who they date rather than address the rise of what is frankly criminal behavior in the dating scene. So again, I would advise you men to take your own advise and learn to quality control before whipping your dicks out. Learn to respect your sexual selves and your part in the reproductive process instead of chasing after pussy like drug addicts. Just saying. You can't have it both ways. You're either going to start to care about the fallout of your choices and make better ones or you're going to continue being reckless and suffering those consequences. Don't expect much sympathy when you're continuing to choose recklessness. Trust me on that. It won't ever come. Even when the recklessness was pushed on you by society or religion or whatever, nobody will care or show you an ounce of sympathy and understanding.