Sound like your “friend” is about to lose that client and in essence you’ll be losing your job with him. It’s very easy for me to say bid on it as your own company but your friend will eventually find out as will the final client. I would be upfront with both of them, bid on the project and the let the chips fall where they may. In the end you won’t have it weigh on your conscience.