Why was the number of wives set at 4?

Have we been given this kowledge or is this like the question 'why is maghrib only 3 rakats?'