Why does not the penis stay up?

The penis doesn't stay up because it's only when up when you're sexually aroused. If we walked around with boners all the time it would hurt when we ran into something, it would be extrely wierd, and there would be nothing special about sex anymore