There is no definitive answer to this question, as the two programs have different strengths and weaknesses. However, if you’re looking for a program that can help you create high-quality graphics and designs, Photoshop is likely the better choice. If you’re more interested in creating simple designs or illustrations, Indesign may be a better option.

Differences between Adobe Photoshop Illustrator and InDesign – When to use Adobe software

Check out Does Indesign Come With Photoshop?