If the maximum pressure that the brick can bear is 882000pa, how high can the brick with a density of 1800kg / m3 build a wall at most?

If the maximum pressure that the brick can bear is 882000pa, how high can the brick with a density of 1800kg / m3 build a wall at most?

P = f / S = g / S = MGV / S = ρ VG / S = ρ SHG / S = ρ GH, so if you bring it in, H = 49m, I use G = 10N / kg here