Someone wanted to invest 30k into my landscape company for 5% return, now I’m not the smartest guy out there and someone is free to correct me if I’m wrong but shouldn’t that 5% be until the loan is paid off and not until I give the company up

Again I’m very new to this so I could be looking at this horribly wrong