Every reliable website that writes essays for you does so legally. Officially, they only provide you with samples, and you have to use them for crafting your own work. These companies discourage clients from submitting it as their personal essays, meaning that it is legal to use their help.