I think both go hand in hand. Listening without speaking up and talking without listening, both have their downsides. Personally, I prioritize listening over talking.
For me, active listening comes first since we can't understand someone else's point of view unless we listen to them.Then it comes time to talk about whether you understood or not .This allows you to offer your perspective and create a healthy learning atmosphere.While also helps in developing solid communication and problem solving skills.