Regarding Building a 3 statement model in investment banking and financial modelling course video

I have a doubt to question " what happens when a company sells shares to 3 statements". How shareholders equity will increase. They are selling there part of shares. Right? that is if they have 100 shares of 5 each they will get 500 rs and there equity will reduce . Right?