Passage
Yet if they shall bethink themselves in the land whither they were carried captives, and repent, and make supplication unto thee in the land of them that carried them captives, saying, We have sinned, and have done perversely, we have committed wickedness;
Nearby Context
1 Kings 8:45 Then hear thou in heaven their prayer and their supplication, and maintain their cause.
1 Kings 8:46 If they sin against thee, (for there is no man that sinneth not,) and thou be angry with them, and deliver them to the enemy, so that they carry them away captives unto the land of the enemy, far or near;
1 Kings 8:47 Yet if they shall bethink themselves in the land whither they were carried captives, and repent, and make supplication unto thee in the land of them that carried them captives, saying, We have sinned, and have done perversely, we have committed wickedness;
1 Kings 8:48 And so return unto thee with all their heart, and with all their soul, in the land of their enemies, which led them away captive, and pray unto thee toward their land, which thou gavest unto their fathers, the city which thou hast chosen, and the house which I have built for thy name:
1 Kings 8:49 Then hear thou their prayer and their supplication in heaven thy dwelling place, and maintain their cause,
Study Lenses
The verse centers on "shall", "bethink", "themselves", "land", "whither", "carried", "captives", and "repent". It is saying that the verse draws attention to "shall" and "bethink", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 46's "If they sin against thee for there..." into verse 48's "And so return unto thee with all...", so "shall" and "bethink" belong inside that flow. In 1 Kings context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "shall" and "bethink" with trust shaped by these words, not by a vague optimism outside the passage.