I don't know 🤷 imho the only career-nuking moves should be fraud and academic dishonesty. You're probably required to formally advise the first journal that you're removing it from submission (so you can affirm that the article is unencumbered to the second), but at that point surely you're fine?