Given the attachment is strong enough, you get a shorter supporting beam, which increases load-bearing capacity.
But most importantly, you increase the stiffness of the column construction in the left/right direction. This is mainly if you have an open construction; the board wall in the far wall does the same thing.