Without Facebook Instagram wouldn't exist since Instagram used Facebook's social graph aka "Log in with Facebook" in order to kickstart and grow its userbase.
Future for them was bright but they needed more engineers and more professional management to cope with the rapid growth since they had only 13 employees at the time of proposed acquisition which eventually happened. Zuckerberg said Instagram was about to hit the wall if it wasn't Facebook because their backend wasn't good enough for millions of users but if they got more engineers and a good CTO and a good COO they could've survived and grow on their own.
[0] https://techcrunch.com/wp-content/uploads/2018/06/Instagram-...