Equal spacing?

It would look something like this. I’m looking for an easy way to draw a rectangle and then divided into equal parts. Thank you so much for your help.