In this line, the Prince means that everyone is going to suffer the consequences of Romeo and Juliets' deaths. Both families should feel the impact of the deaths and will have to grieve and grow and learn from them. The Prince feels that this serves as a punishment for the continued fighting between the houses.