To complete the thirsty gods tomb in Mission of the San Juan in Shadow of the Tomb Raider cut the two rafts loose. Climb up to the raft near the ledge and make your way around to the upper area.
All Mission of San Juan Guides
All Shadow of the Tomb Raider Guides

Climb the freed raft near the ledge to complete the thirsty gods tomb in Mission of the San Juan in Shadow of the Tomb Raider
Use the lever to turn the pillar so that the water flows into the weight on the right.

Use the lever to make the water flow onto the weight to complete the thirsty gods tomb in Mission of the San Juan in Shadow of the Tomb Raider
Jump down and use a rope arrow to attach the rope wrapped beam to the pulley.

Use a rope arrow to attach the rope wrapped beam to the pulley to open the gate to complete the thirsty gods tomb in Mission of the San Juan in Shadow of the Tomb Raider
Climb back up. Use the lever to turn the pillar so that the water flows onto the wheel until the gate is open. Then turn the pillar back so that the water flows onto the weight again. Make your way over to the gate by swimming around the left side of the area to avoid any piranhas. Climb around to complete the thirsty gods tomb.
NOt sure if I’m missing something, to every time me I i activate the pulley by turning the wheel my rope breaks.