Texture is created when i put 2 3d objects together

Something is wrong with the lighting, it’s a bunch of cubes put together but they kind of create this sort of texture that is affected by lighting and i dont want that to happen

how do I fix it?

Update: I figured it has to do with the material because the edges are indented outwards, still not sure how to fix it

I FIGURED IT OUT! IT’S THE LIGHTING

Your Light Source > Light Component > Bias

just increase the Bias