Just a little exercise of an ancient greek style pavilion (no references used):

I created the stairs by beveling an edge with “Custom Profile” set to “Steps” and selecting “Percent” as “Width Type” (set to 100%). After selecting all vertices of the “Stairs” object, I used “Merge by Distance” for removing overlapping vertices.